Bug 151156

Summary: Removing the metadata (EXIF) pannel while loading another picture shows blank black picture!
Product: [Applications] digikam Reporter: Alexandre Racine <alexandreracine>
Component: ImageEditor-LoadAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, marcel.wiesweg
Priority: NOR    
Version: 0.9.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.3.0

Description Alexandre Racine 2007-10-21 21:23:54 UTC
Version:           0.9.2-final (using KDE 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu2)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-386

That's a funny bug :)

Steps to reproduce:

1-Use an album with huges pictures so that the loading of another picture will give you some time to click :)
2-Click on a picture to display it.
3-Load the metadata pannel (EXIF).

Quickly in this order.
4-Press the right arrow on your keyboard to show the next picture.
5-While the next picture is loading, clic on the metadata pannel icon to remove the pannel.
6-Everything is black until you quit the viewer and reload another picture.

Fun stuff:
You can go the other way too! Just look at a picture, press right or left to load another picture and them click the metadata pannel icon to show it. Black too!
Comment 1 caulier.gilles 2008-03-18 12:34:48 UTC
Marcel,

I can reproduce this problem here. Sound like a problem with zoom value which become very high during loading, because image size are null. Right ?

Gilles Caulier
Comment 2 Marcel Wiesweg 2008-03-18 18:05:00 UTC
Yes, I can reproduce here, you can get back the picture by clicking on the fit-to-window button, and it is only reproducible with fit to window enabled.
It looks as if the fit-to-window code is missing the check you mentioned?
Comment 3 caulier.gilles 2008-03-18 18:12:28 UTC
yes, this code do not check if current image size are invalid

Gilles 
Comment 4 caulier.gilles 2008-12-05 22:39:41 UTC
Alexandre,

This report still valid using digiKam 0.9.4 ?

Gilles Caulier
Comment 5 Alexandre Racine 2008-12-06 07:28:39 UTC
Yes but you could put the severity to low and the status to CONFIRMED ;)

Also, this works with any tab, not just the metadata tab.
Comment 6 Alexandre Racine 2009-05-03 20:09:05 UTC
Under Ubuntu 9.10, with KDE 4.22 and digikam 0.10 this is also happening.
Comment 7 Alexandre Racine 2010-05-09 22:43:58 UTC
Now ok in Ubuntu 10.04, with digikam 1.2