Bug 362406

Summary: On import renaming by date from file should use exif date and time not modification time as standard
Product: [Applications] digikam Reporter: Simon <freisim93>
Component: AdvancedRename-ImportAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, maillist
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.0
Sentry Crash Report:

Description Simon 2016-04-28 11:52:15 UTC
I import images with "Add images" (as my sd-card is not recognised as an sd-card, just standard storage) and use the file renaming options to prefix every file with the create date/time. This results in images being renamed to the modification time of the file. This is not consistent with the renaming utility (invoked by F2), where the exif date/time is used. In any case exif date/time is what one would expect (I cannot think of any reason to use the modification time).
The renaming behaves as expected (using exif) when you check the box "use file metadata (makes connection slower) in the "Behavior" rider of the Cameras part of the settings. In my opinion this is not even justified for import from camera, but is certainly not expected for import from any storage media. And the setting is not intuitive to find, as I never use a camera in the process (in an "Import" submenu, one might find it).
Please change the standard to read date from exif instead of file modification time.

Reproducible: Always
Comment 1 Tobias Philipp 2016-08-31 09:30:01 UTC
Hi,

i import my photos with a usb card reader and the sd card with vfat filesystem is not mounted with the correct timezone info -> 2 hours difference between filesystem timestamp and exif date/time.

I searched around and wanted to file a bug until i found this one.
It is nice to have a setting that correct this behavior, but i have never heard of it  and fount it accidentally.

It should really be the standard setting or be prominent visible in the importer dialog.
Comment 2 caulier.gilles 2016-11-29 11:02:28 UTC
Maik,

This problem must be related to Camera Import tool settings to handle all Exif data while scanning items from camera. Right ?

Gilles
Comment 3 Unknown 2016-12-10 19:29:24 UTC
Git commit e2b75ae311e417decf1b37c9fcb2a5f953c5b796 by Maik Qualmann.
Committed on 10/12/2016 at 19:25.
Pushed by mqualmann into branch 'master'.

add note to GUI if file metadata used or not
Related: bug 301936
FIXED-IN: 5.4.0

M  +3    -2    NEWS
M  +33   -1    utilities/importui/widgets/renamecustomizer.cpp
M  +1    -0    utilities/importui/widgets/renamecustomizer.h

https://commits.kde.org/digikam/e2b75ae311e417decf1b37c9fcb2a5f953c5b796