Bug 150609 - Adjust Exif orientation tag changes files date
Summary: Adjust Exif orientation tag changes files date
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Orientation (show other bugs)
Version: 0.9.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-08 22:26 UTC by Andrzej
Modified: 2022-01-19 10:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrzej 2007-10-08 22:26:00 UTC
Version:           0.9.2-final (using KDE 3.5.7, compiled sources)
Compiler:          Target: i486-slackware-linux
OS:                Linux (i686) release 2.6.22.6

"Adjust Exif orientation tag" changes file's date.
In previous versions of Digikam it was not the case.
Is there any way to restore old behavior?
Comment 1 caulier.gilles 2007-10-08 23:00:47 UTC
andrzej,

This changes have been done following an user tip reported in this room

Gilles Caulier
Comment 2 caulier.gilles 2007-10-08 23:03:49 UTC
Andrzej,

Look here : http://bugs.kde.org/show_bug.cgi?id=128975

Gilles Caulier
Comment 3 Andrzej 2007-10-09 18:15:42 UTC
Maybe this behavior can be done configurable
or at least it would be great to be able to change back file's date.
"Adjust Time & Date" is not working in current version of kipi-plugins 0.1.4.
Is there any chance that this will be fixed for the next release?
Comment 4 caulier.gilles 2007-10-09 18:36:00 UTC
>Maybe this behavior can be done configurable 

==> certainly

> "Adjust Time & Date" is not working in current version of kipi-plugins 0.1.4. 

==> try new beta release 0.1.5-beta1 at this url :

http://thewally.it/kipi/

Gilles
Comment 5 Andrzej 2007-10-10 19:30:12 UTC
When configuration of behavior about changing file's date after Exif data modification can be done?

I've just tried 0.1.5-beta1 but the bug still persist.
When I try to "Set file date to EXIF/IPTC creation date" file date changes into current date and not the one from EXIF :(
Comment 6 Andrzej 2007-12-30 12:26:29 UTC
Still present in kipi-plugins-0.1.5rc1.
Comment 7 caulier.gilles 2008-12-04 20:56:35 UTC
Andrzej,

What's news about this report. It still valid using digiKam 0.9.4 ?

Gilles Caulier
Comment 8 Andrzej 2008-12-06 00:29:06 UTC
Gilles,

I cannot find in digiKam 0.9.4 the configuration option that would prevent changing file date every time I change orientation tag. Do you plan to implement it? I assumed that you do when you'd written "certainly"

The workaround using "Adjust Time & Date" from kipi-plugins-0.1.6 works.
http://bugs.kde.org/show_bug.cgi?id=149890


Andrzej
Comment 9 caulier.gilles 2008-12-06 07:41:34 UTC
Andrzej,

We don't need an option for that. I must don't touch the file date. but take a care to use a recent version of Exiv2 library

Gilles Caulier
Comment 10 Andrzej 2008-12-06 14:59:18 UTC
Gilles,

I use Exiv2 v0.17.1 but I'm afraid there is some misunderstanding between us.
I'll try put it this way:
Is it possible to change something in exif without changing file's date?
before "Exiv2 era" the file date was left unchanged. Now every time something is changed in exif, file's date is changed.
I remember that there was a request for this behavior:
http://bugs.kde.org/show_bug.cgi?id=150609
but for me the old behavior was more convenient.

The question is whether this is something that can be changed within digikam or maybe it is Exiv2 way of working that cannot be manipulated from digikam?

Andrzej

Comment 11 Andrzej 2008-12-06 15:02:01 UTC
in previous post I put wrong bug number the right one is:
http://bugs.kde.org/show_bug.cgi?id=128975

Comment 12 caulier.gilles 2008-12-06 15:08:22 UTC
Andrzej,

With digiKam if something is touched into metadata, it's relevant of Exiv2. 

I don't know if Exiv2 0.18 take a care about to untouch file date in this case.

Andreas, i'm missing something ?

Gilles Caulier
Comment 13 Andreas Huggel 2008-12-07 10:34:45 UTC
Gilles,

"Untouching" the file is something digiKam must do, not the Exiv2 library. Exiv2 - the command line tool - has an option -k for this, since version 0.9. See class Timestamp in actions.cpp, maybe digikam can use this code too.

Andreas
Comment 14 caulier.gilles 2008-12-07 19:28:47 UTC
SVN commit 894042 by cgilles:

libkexiv2 from trunk (KDE4) : do not change file time stamp when metadata are changed
BUG: 150609
BUG: 157788
BUG: 144215



 M  +18 -0     kexiv2.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=894042
Comment 15 caulier.gilles 2008-12-07 20:16:47 UTC
SVN commit 894053 by cgilles:

backport commit #894042 from trunk: do not change file time stamp when metadata are changed
CCBUG: 150609
CCBUG: 157788
CCBUG: 144215



 M  +18 -0     kexiv2.cpp  


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