https://bugs.kde.org/show_bug.cgi?id=452088

            Bug ID: 452088
           Summary: Mixed up creation time and time of import
           Product: digikam
           Version: 7.6.0
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Import-Albums
          Assignee: digikam-bugs-n...@kde.org
          Reporter: pkt...@gmail.com
  Target Milestone: ---

SUMMARY
After importing a set of images from SD card, the time of import is displayed
as the creation date of some images. This happened with 15 images while 35
others were shot on the same day. The complete set consisted of 92 images.
I also enabled 'Use file metadata' as suggested here:
https://bugs.kde.org/show_bug.cgi?id=446632 , but creation times are still
wrong. The import dialog displays correct creation times.

STEPS TO REPRODUCE
1. Import a set of images into an existing album. The album contains some
non-empty subfolders, but is otherwise empty.
2. Observe creation date of images.
(Unfortunately I'm not sure, if this ever happened before with any other set of
images.)

OBSERVED RESULT
Example:
* The image is imported at around 2022-03-30T18:38:56 (UTC).
* The image is imported with option '[date]_[file]', so the creation datetime
is encoded also in the filename, '20220312T152146_DSC06802.JPG' in the example.
* On import, DigiKam apparently writes '2022-03-30T18:38:56' (the time of
import) as the creation and digitization datetime in its database (sqlite,
table ImageInformation). Checked with DB Browser for SQLite.
* Looking at XMP meta data:
    * Create Date: 2022-03-30T18:38:56+00:00 (This is wrong)
    * Modify Date: 2022-03-12T14:21:46+00:00 (Modification can't be earlier
than creation...??)
    * Date and Time Original: 2022-03-30T18:38:56+00:00 (Also wrong)
* My file browser returns the correct 'date taken' (2022-03-12T14:21:46) on
disk and also on the original SD card.

EXPECTED RESULT
Creation date not mixed up with date of import.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux (x86_64) release 5.15.28-1-MANJARO, Xfce 4.16
KDE Plasma Version: -
KDE Frameworks Version: 
Qt Version: 5

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to