Bug 149890

Summary: adjust date and time from Exif does not work
Product: [Applications] digikam Reporter: Sébastien Lamy <lamyseba>
Component: Plugin-Generic-TimeAdjustAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.1.0
Sentry Crash Report:
Attachments: a sample foto with exif time not the same as modified, creation, and and iptc date

Description Sébastien Lamy 2007-09-15 15:26:44 UTC
Version:           0.9.1 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-16-generic

When trying to adjust date and time from exif properties, nothings seems to change.

It seems to me that modified date, creation date, iptc date, and databas date/time (if there is one) should all be changed when choosing the menu
image->Adjuste date and time->Put exif datetime into file datetime
(Maybe the name arent exactly the sames for the menus, I am using the french version).

ie I have a photo, modification date is 15/09/2007
in exif information datetime creation (original) is 10/07/2007.
When choosing the menu, with this file, or with multiple file, nothings happens.
Comment 1 Sébastien Lamy 2007-09-15 15:30:14 UTC
Created attachment 21630 [details]
a sample foto with exif time not the same as modified, creation, and and iptc date
Comment 2 Andrzej 2007-12-30 12:23:40 UTC
Still present in kipi-plugins-0.1.5rc1.
I only want to add to the previous description that instead of date from exif the current date is set.
Comment 3 Andrzej 2008-03-07 21:34:01 UTC
I discovered what are the problems:
1) files ownership:
I have my photos stored on FAT partition that is fully accessible by anyone but is owned by root. If I mount that partition as current user I can modify file using 
"Adjuste time and date"

but then another problem appears:

2) 
When I was using
"Set file date to EXIF/IPTC creation date" the date was changed into current one and not the one form EXIF. It was because options:
- Update EXIF creation date
- Update IPTC creation date
were marked.
Despite the fact that these options were inactive they had impact on how this plug-in was working.
When I unmarked these options "Set file date to EXIF/IPTC creation date" started to work as expected.

Comment 4 caulier.gilles 2008-03-16 21:56:56 UTC
SVN commit 786355 by cgilles:

kipi-plugins from KDE3 branch : TimeAdjust : set file date time after than Exiv2 play with metadata
CCBUGS: 149890


 M  +6 -6      timeadjustdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=786355
Comment 5 caulier.gilles 2008-03-16 22:00:20 UTC
SVN commit 786358 by cgilles:

backport commit #786355 from KDE3 branch
CCBUGS: 149890


 M  +6 -6      timeadjustdialog.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=786358
Comment 6 caulier.gilles 2008-03-16 22:13:11 UTC
SVN commit 786363 by cgilles:

kipi-plugins from KDE3 branch : TimeAdjust : set all Exif Date tags as excepted
BUG: 149890


 M  +6 -2      timeadjustdialog.cpp  
 M  +1 -1      timeadjustdialog.h  


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