Bug 131212 - digiKam does not adhere to the EXIF Actions settings
Summary: digiKam does not adhere to the EXIF Actions settings
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Setup-Metadata (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-22 17:42 UTC by Magnus Larsson
Modified: 2022-01-22 08:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0
Sentry Crash Report:


Attachments
exif rotation setup (190.06 KB, image/png)
2006-07-24 22:14 UTC, caulier.gilles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Larsson 2006-07-22 17:42:23 UTC
Version:           0.9.0-beta1 (using KDE 3.5.3, compiled sources)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.17.1

Digikam-0.9.0-beta1 does not adhere to the EXIF Actions settings.

The thumbnails which are generated does not follow the EXIF rotation setting.

The JPG files are from CANON-350D.

Test:
1) Install digikam-0.9.0-beta 1 and digikamimageplugins-0.9.0-beta1    using ./configure, make, make install.
2) Remove existing thumbnails in the ~/.plugins directory.
3) Start Digikam. I already had settings->configure->metadata set to
   Show images/thumbs rotated according to orientation tag.
4) Goto Albums and select an album

5) The thumbnails which are generated does not follow the EXIF rotation setting. All my images show up as landscape, both as thumbnails and in the imageviewer if I click on the thumbnail.

6) Reinstall the old Digikam-SVN I used, approx. 2006-05-15 checkout. (svn co -r {2006-05-15} -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics)

7) Remove existing thumbnails in the ~/.plugins directory.

8) Thumbnails are re-generated correctly.

9) Digikam-0.8.1 works for me as well.

10) I have had problems similar to this before when using 0.8.2-rc1
http://bugs.kde.org/show_bug.cgi?id=127179
,but the svn 2006-05-15 chekout moving to 0.9.0 SVN solved the problem for me.    

Sincerely,

Magnus Larsson
Comment 1 caulier.gilles 2006-07-22 19:54:53 UTC
The cache thumbnails is in ~./thumbnails, not in ~./plugins. Are you sure to have removed the thumbs cache to proces your test ?

Gilles
Comment 2 Magnus Larsson 2006-07-22 23:06:38 UTC
Dear Gilles Caulier,

Please let me correct my bug report. You are correct. The bug report above should state:
..
2) Remove existing thumbnails in the ~/.thumbnails directory. 
..
7) Remove existing thumbnails in the ~/.thumbnails directory. 
..

These were indeed the steps performed.

I apologise for the confusion.

Best regards,

Magnus Larsson
Comment 3 caulier.gilles 2006-07-23 13:19:19 UTC
Please give me a CANON-350D image sample to test. Thanks in advance

Gilles
Comment 4 Magnus Larsson 2006-07-24 18:11:14 UTC
Dear Gilles Caulier, 

Please find jpg files, as requested, listed below:
 
http://gunnarlarsson.scorpionshops.com/Bug-131212

Some info: 
IMG_2067.JPG landscape
IMG_2088.JPG portrait

Sincerely

Magnus Larsson
Comment 5 caulier.gilles 2006-07-24 22:14:12 UTC
Created attachment 17116 [details]
exif rotation setup

Exif rotation work for me if you set properlly the right option in Metadata
setup dialog page.

If i remember, i think that i have polished/changed the implementation to save
the digikam confog in rc file about metadata between 0.8.x and 0.9.0. I suspect
that the configuration about Exif rotation is disable by default when you start
digiKam 0.9.0 at the first time...

Gilles Caulier
Comment 6 Magnus Larsson 2006-07-25 09:27:59 UTC
Dear Gilles Caulier, 

I tested this:
Remove thumbnails in ~/.thumbnails.
Remove digikamrc from ~/.kde/share/config.
Start Digikam, select album root.
Set settings->configure->metadata to 
    Show images/thumbs rotated according to orientation tag and
    set orientation tag to normal after rotate/flip. (same as in your  
    attachment).

=> Works for me too.

However, my Digikam-0.9.0-beta1 does not regenerate thumbnails if 
"Show images/thumbs rotated according to orientation tag" is changed, once more, and I revisit the albums.

1) Start Digikam.
2) Set "Show images/thumbs rotated according to orientation tag".
3) Visit "new" album (album not visited before) => thumbnails are generated according to setting. Click on thumb => viewer adheres to setting as well.
4) Reset "Show images/thumbs rotated according to orientation tag". (do not rotate according to tag).
5) Visit album from 3) above. => thumbnails are not shown according to setting. The thumbnails are not regenerated to adhere to the new setting from 5). They stay the same as from 3). Click on thumb => viewer adheres to new setting.
6) Visit another new album (album not visited before) => thumbnails are generated according to setting. (This time not rotated).

Conclusion: 
Thumbnails are not regenerated if the settings->configure->metadata changes and an album is revisited. 

I can no longer recreate my old bug. I do not understand why the removal of ~/.thumbnails did not trigger a recreation. Removing the old digikamrc, a 0.9.0/0.8 hybrid? perhaps, made a difference.

Best regards.

Magnus Larsson







Comment 7 caulier.gilles 2006-07-25 09:32:02 UTC
About to regenerate thumbnails if Exif option have changed in setup is an another problem. We have already a B.K.O entry for that and i have planed to fix it before to release 0.9.0-final.

You can close this file. No need to duplicate entries. Thanks in advance.

Gilles Caulier
Comment 8 Magnus Larsson 2006-07-25 18:49:54 UTC
Closed, as per suggestion above.

Best regards,

Magnus Larsson