Bug 197609 - When rotating an image via the buttons thumbnail is not updated
Summary: When rotating an image via the buttons thumbnail is not updated
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Image (show other bugs)
Version: 1.0.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 15:19 UTC by Salvatore Brigaglia
Modified: 2022-01-31 11:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Salvatore Brigaglia 2009-06-23 15:19:34 UTC
Version:           1.0.0-beta2 (rev.: 984662) (using 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2)) "release 138", KDE:KDE4:Factory:Desktop / openSUSE_Factory)
Compiler:          gcc
OS:                Linux (i686) release 2.6.30-rc8-6-pae

I fount that if you try to rotate an image in the icon view the image is rotated but the thumbnail is not updated.
Comment 1 Andi Clemens 2009-06-23 15:54:29 UTC
Gilles, Marcel,

already reported in the porting2ModelView.ods file...
So I can confirm it.

Andi
Comment 2 caulier.gilles 2009-06-23 16:09:42 UTC
Andi, Marcel,

Sound like releavant of thumbs DB...

Note: others suggestion : I thinking to strap definitively JPEGLossLess kipi-plugin. We can reproduce easily this tool with digiKam core (JpegUtils + DImg). This will give a better integration in digiKam GUI. Your viewpoints ?

Gilles Caulier
Comment 3 Marcel Wiesweg 2009-06-23 16:50:33 UTC
Gilles: There is some matrix multiplication code in JPEGlossless that combines the current EXIF flag with the wished behavior - you see the image exif-rotated in portrait mode and rotate by 90°, the actual rotation is either 0° or 180° and resetting the exif flag. This code must not be lost.
Generally I would agree to putting this into BQM for ex.
Comment 4 Andi Clemens 2009-07-10 17:27:12 UTC
Hmm it seems to work suddenly... can you confirm?
Comment 5 Andi Clemens 2009-10-08 01:12:45 UTC
SVN commit 1032493 by aclemens:

Seems to be fixed.

BUG:197609

 M  +2 -1      NEWS  
 M  +34 -26    project/porting2ModelView.ods  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1032493
Comment 6 Marcel Wiesweg 2009-10-08 19:48:45 UTC
Short amendment to my comment #3:
The matrix multiplication code is available from libkexiv2 now.
Comment 7 Tom Spuhler 2010-08-10 21:35:58 UTC
I seems this bug shows it's ugly face again. The thumbnail does rotate, but not the picture nor in slideview. Using the Gimp and open it, save it, then the picture is correct in all views. The same problem in Gwenview. Are they using the same library?
Comment 8 caulier.gilles 2010-08-16 16:23:08 UTC
If you use JPEG file, yes, libjpeg is common library

Gilles Caulier
Comment 9 Angelo Naselli 2010-08-16 17:27:30 UTC
Gilles is not libexiv important as well?
Comment 10 caulier.gilles 2010-08-16 18:31:22 UTC
yes, Exiv2 is common to gwenview and digiKam, but Gwenview do not use libkexiv2.

I will be interesting to see which file format is relevant of this problem...

Gilles Caulier
Comment 11 Angelo Naselli 2010-08-16 22:48:14 UTC
hmm if I'm not wrong Tom (comment #7) experienced the opposite problem, e.g. thumbnail ok but the picture is not really rotated.
I believe it's more like mandriva bug https://qa.mandriva.com/show_bug.cgi?id=60275
Comment 12 Tom Spuhler 2010-08-17 04:27:37 UTC
On Monday, August 16, 2010 08:27:55 am Angelo Naselli wrote:
> https://bugs.kde.org/show_bug.cgi?id=197609
> 
> 
> 
> 
> 
> --- Comment #9 from Angelo Naselli <anaselli linux it>  2010-08-16 17:27:30
> --- Gilles is not libexiv important as well?
Here is another report
https://bugs.kde.org/show_bug.cgi?id=228483