Bug 295182

Summary: "adjust exif orientation tag" does not change the file
Product: [Applications] digikam Reporter: Andrzej <superandrzej>
Component: Metadata-OrientationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.6.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.1.0
Sentry Crash Report:
Attachments: setup rotation metadata configuration panel

Description Andrzej 2012-03-01 22:53:02 UTC
Version:           2.6.0 (using KDE 4.8.0) 
OS:                Linux

I cloned today git repository.
When I use "adjust exif orientation tag" it does not change the file's exif data.
Only digiKam database is changed. In digiKam image is displayed OK but in other viewer orientation is not changed.

In digiKam 2.4.1 works as expected.

Reproducible: Always

Steps to Reproduce:
Change image orientation using "adjust exif orientation tag" and view in e.g. Gwenview

Actual Results:  
Image's orientation displayed in other viewer is not changed

Expected Results:  
Image's orientation displayed in other viewer is changed

OS: Linux (i686) release 3.0.4
Compiler: gcc
Comment 1 caulier.gilles 2012-03-02 07:38:54 UTC
Created attachment 69233 [details]
setup rotation metadata configuration panel
Comment 2 Andrzej 2012-03-03 11:21:48 UTC
I've already played with these settings.
When I try to change orientation flag 2 task appears:
1) "updating orientation in database" and this task completes
2) "Revising Exif Orientation tags" and this task holds at 0%.

As the effect image is rotated in digiKam database only.
Exif orientation flag is not touched.

Each intent to rotate image image adds another progress bar with "Revising Exif Orientation tags" 

Then I try to close digiKam "finishing tasks" message appears and it stays untill I click "cancel"

It seems that something is blocking write access to exig tags.
Comment 3 caulier.gilles 2012-03-03 13:53:45 UTC
About point 2/, i alreday reported this problem to Marcel recently, and he have fixed it in git/master. please take a care to use last beta2 code from repository.

Gilles Caulier
Comment 4 Andrzej 2012-03-03 23:47:53 UTC
Gilles,

I cloned digiKam repository tonight:
git clone git://anongit.kde.org/digikam-software-compilation digikam-sc

but the problem with
"Revising Exif Orientation tags" and this task holds at 0%.
still persist

Andrzej
Comment 5 caulier.gilles 2012-03-04 08:32:23 UTC
Run digiKam from a console and look which messages are printed as trace when you process exif tag revision

Gilles Caulier
Comment 6 Andrzej 2012-03-08 23:11:13 UTC
When I try to change exif tags no new messages appear on konsole
(digiKam compiled with debugfull and all digikam related entries are enabled in kdebugdialog)

Andrzej
Comment 7 Marcel Wiesweg 2012-07-04 19:48:57 UTC
Should be that problem, fixed in May

*** This bug has been marked as a duplicate of bug 295263 ***
Comment 8 caulier.gilles 2020-08-30 15:56:17 UTC
Fixed with #295263