[Digikam-devel] [Bug 111873] Modifying and then navigating in the thumbbar does not update photo thumbnail

Gilles Caulier caulier.gilles at free.fr
Fri Sep 2 20:38:39 BST 2005


------- 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=111873         




------- Additional Comments From caulier.gilles free fr  2005-09-02 21:38 -------
SVN commit 456411 by cgilles:

Don't using KFilePreview thumbnails cache to display properly the image modifications on showfoto thumbbar. Please, give me a feedback...

Nota: using KIO:KfilePreview isn't the better way to render thumbnails. This method don't work properly with any 
TIFF and PNG files generated with imlib2 (especially for example with hight PNG compression level). 
Perhaps the better way is to use the digikamthumbnails kioslave when it's available (for example in a both
installation of showfoto and digikam in the same computer).

CCBUG: 111873



 M  +4 -4      thumbbar.cpp  


--- trunk/extragear/graphics/digikam/libs/thumbbar/thumbbar.cpp #456410:456411
 @ -198,8 +198,8  @
         delete item->m_pixmap;
         item->m_pixmap = 0;
     }
-    KIO::PreviewJob* job = KIO::filePreview(item->url(),
-                                            d->tileSize);
+    KIO::PreviewJob* job = KIO::filePreview(item->url(), d->tileSize, 0, 0, 70, true, false);
+    
     connect(job, SIGNAL(gotPreview(const KFileItem *, const QPixmap &)),
             SLOT(slotGotPreview(const KFileItem *, const QPixmap &)));
     connect(job, SIGNAL(failed(const KFileItem *)),
 @ -374,8 +374,8  @
     
     if (!urlList.isEmpty())
     {
-        KIO::PreviewJob* job = KIO::filePreview(urlList,
-                                                d->tileSize);
+        KIO::PreviewJob* job = KIO::filePreview(urlList, d->tileSize, 0, 0, 70, true, false);
+        
         connect(job, SIGNAL(gotPreview(const KFileItem *, const QPixmap &)),
                 SLOT(slotGotPreview(const KFileItem *, const QPixmap &)));
         connect(job, SIGNAL(failed(const KFileItem *)),



More information about the Digikam-devel mailing list