[Digikam-devel] [Bug 137320] Thumbnails should continue loading for images that are off-screen

Arnd Baecker arnd.baecker at web.de
Tue Mar 18 06:47:29 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=137320         




------- Additional Comments From arnd.baecker web de  2008-03-18 07:47 -------
Marcel, thanks a lot for the detailed explanation!
So from my point of view, there are two things 
a) automatically pre-generate the thumbnails on disk for all images 
   in the current album.
   This process should stop, when changing to a different view.
b) maybe pre-load the next line (or next two lines) into the pixmap cache.

Here b) should only give a slight improvement, as a) is the crucial point.

So my question is: 
What kind of infrastructure could be used to achieve a)?
If nothing is there for this, maybe it is better to deal with
this issue in the KDE4 branch?

For b) I thought that the above mentioned:
    IconItem *fItem = firstItem();
    IconItem *lItem = lastItem();
should technically work  in AlbumIconView::nextItemToThumbnail(),
but this doesn't. Maybe this should be replaced by
     IconItem *fItem = findFirstVisibleItem(r);
     IconItem *lItem = findLastVisibleItem(r) + 10;
                               // metacode, but you get the idea
(Maybe you addressed already in your reply, why this can't work ...)

Best, Arnd



More information about the Digikam-devel mailing list