Bug 179439 - Rotation or flip do not update internal thumbnail
Summary: Rotation or flip do not update internal thumbnail
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Bqm-Flip (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 01:27 UTC by Philippe
Modified: 2024-03-02 14:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.2.0


Attachments
digiKam and Dolphin thumbnail view (514.39 KB, image/png)
2009-01-09 15:16 UTC, caulier.gilles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe 2009-01-03 01:27:11 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Fedora RPMs

When you do a lossless transformation like a rotation or a flip on a jpg file, the internal thumbnail is not processed to. So the thumbnail doesn't represent the image anymore.

That's not very important into digikam because this internal thumbnail is not used at all by digikam but other software using this thumbnail (gwenview, dolphin and surely others) display a wrong one.

Bug detected on a fedora 10 with digikam 0.10 beta 7
Comment 1 caulier.gilles 2009-01-09 15:06:43 UTC
I cannot confirm that for Rotate and flip. code is here :

http://lxr.kde.org/source/extragear/graphics/kipi-plugins/jpeglossless/jpegtransform.cpp#348

The only action where Exif thumbnail is not updated is to convert to grayscale

Sound like a cache problem in konqueror, dolphin and gwenview. Please clean your ~./thumbnails after a rotation/flip and try again...

Gilles Caulier
Comment 2 caulier.gilles 2009-01-09 15:16:50 UTC
Created attachment 30052 [details]
digiKam and Dolphin thumbnail view
Comment 3 caulier.gilles 2009-01-09 15:22:07 UTC
SVN commit 908250 by cgilles:

JPEGLossLess kipi-plugin from trunk:
use metadata settings from kipi host
fix Exif thumbnail update with Convert to grayscale
CCBUG: 155593
BUG: 179439


 M  +10 -44    actionthread.cpp  
 M  +4 -4      actionthread.h  
 M  +29 -6     convert2grayscale.cpp  
 M  +5 -4      convert2grayscale.h  
 M  +8 -7      imageflip.cpp  
 M  +5 -4      imageflip.h  
 M  +8 -6      imagerotate.cpp  
 M  +5 -4      imagerotate.h  
 M  +12 -3     jpegtransform.cpp  
 M  +23 -25    jpegtransform.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=908250