[Digikam-devel] [Bug 156847] Missing thumbnails in album overview

Rob Walker rob at tenfoot.org.uk
Tue Mar 11 20:50:13 GMT 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=156847         




------- Additional Comments From rob tenfoot org uk  2008-03-11 21:50 -------
I've seen something similar with digikam 0.9.3 - some of my folders were empty and some had less in them than they should have.  I don't use any of the filters.

Using the sqlite command line, I can see that the images are in the database, but don't show up in the folders or any searches.  I tried stepping around the digikam source with gdb.  I found that AlbumLister::matchesFilter (albumlister.cpp, line 274) was returning false for the missing images.  Closer inspection shows that the images had a rating of -1 returned by info->rating() and therefore "match" was set to false when checking the rating filter (greater than or equal to 0).  I wasn't explicitly enabling this filter, so I guess the 0 minimum rating is a default value.

I'm not sure how these images had a rating of -1.  I think I may have previously assigned a rating and then removed it when using an older version of digikam.

I used the sqlite command line to reset the rating of the missing pictures to 0 (like all my other pictures).  I can now see all the pictures.

Is this the cause of the missing items seen by the original submitter?

Rob Walker ( rob tenfoot org uk )



More information about the Digikam-devel mailing list