Bug 165229

Summary: thumbnail complete update does not work reliably, even for jpgs
Product: [Applications] digikam Reporter: f14fjne02
Component: Thumbs-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 0.9.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.5

Description f14fjne02 2008-06-28 20:09:55 UTC
Version:            (using KDE 3.5.9)
Installed from:    Compiled From Sources

Today I decided to create all thumbs from scratch
I erased my .thumbnail folder (linux), just to be sure
I created all the thumbnails - it was way too fast
I checked and found for most of the folders that when selecting them lots of thumbs were added in .thumbnails

I set up a new digikam filestructure with 5 jpgs
I deleted my .thumbnail folder again
I created the thumbs again - only 2 ot of 5 were updated! All files from the same camera.
Mmmmh
not good

I tried a workaround by updating the thumbs using KPhotoAlbum, it did the job, even for raw files.
But: Digikam does not accept these thumbs, although the filenames are correct.
Explanation: Digikam does not accept thumbs with the tag "Software" set other than "Digikam Thumbnail Generator"
Workaround: Set the tag manually:
cd ~/.thumbnails
exiftool -v0 "-Software=Digikam Thumbnail Generator" -r . -ext png -overwrite_original
Comment 1 caulier.gilles 2008-06-28 21:37:36 UTC
No, no , and no...

digiKam shared thumbs generated by KIOslave (the digiKam one), but do not use thumbs generated by another application. Why ? because thumbs generator from digiKam is better.

Try to generate thumbs from konqueror, which use a code from KDELibs : all raw file are not supported, only few JPEG are done (with a special compresion ratio), PNG and tiff sometimes do not work, IPTC.preview tag is not supported...

Well, for me, digiKam thumb generator is better. that all... This have been done as well to solve a lots of old bugs reports set in bugzilla.

For your problem, i recommend to check your installation. digiKam KIO-slave work perfectly. I suspect a depency broken (check libkexiv2 and libkdcraw). Look in your ~/.xsession-errors

Note : in KDE4, thumbs kioslave have been removed. we use now multithreading. It's more easy to debugs and can be adjusted fine (priority, fork to cpu, etc.)

Gilles Caulier

Comment 2 caulier.gilles 2008-12-06 08:25:59 UTC
Following my comment #1, this file is invalid.

Gilles Caulier