[Digikam-devel] Images not displayed

Marcel Wiesweg marcel.wiesweg at gmx.de
Wed Apr 18 20:20:14 BST 2012


> I tried to debug this further. What I can see is that if I manually
> query the database with the same query digikam uses, all relevant images
> are returned. So I suspect the database is ok. So the images must be
> swallowed at some later time. Has anyone got some idea how to find out
> where they disappear in the long model-view chain?

The immediate entry point from the ioslave is ImageAlbumModel::slotData()
The place where entries are actually added to the model, with beginInsertRows 
etc., is ImageModel::publiciseInfos().
Filtering is done in ImageFilterModelFilterer::process(), for optimization 
three different code paths are written out, the relevant line is always
package.filterResults[info.id()] = ... (the result is cached)

These key points should give a hint where your images are lost.

Marcel



More information about the Digikam-devel mailing list