| Summary: | Time Adjust "EXIF: original" uses old XMP CreateDate/DateCreated instead of Xmp.exif.DateTimeOriginal | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | wsyxbcl |
| Component: | Plugin-Generic-TimeAdjust | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, metzpinguin |
| Priority: | NOR | ||
| Version First Reported In: | 9.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/digikam/-/commit/2d386966e921b2edbfb0173fa6ea6e9fe09a7eec | Version Fixed/Implemented In: | 9.1.0 |
| Sentry Crash Report: | |||
|
Description
wsyxbcl
2026-04-08 09:29:13 UTC
In principle, the behavior is correct. When reading sidecar metadata, XMP metadata must override the Exif/IPTC metadata; otherwise, it cannot be modified. Furthermore, Exiv2 includes this conversion table: https://exiv2.org/conversion.html You can see how your date is generated as a result. However, we can temporarily disable the reading of sidecar metadata in the Time Adjust Tool, since the user explicitly requests Exif:original. This also means that if Exif:original is not present, we will get an invalid date, i.e., for images without metadata whose data is only present in XMP sidecar metadata. Maik Git commit 2d386966e921b2edbfb0173fa6ea6e9fe09a7eec by Maik Qualmann. Committed on 08/04/2026 at 19:13. Pushed by mqualmann into branch 'master'. read Exif/IPTC date metadata without sidecar in the Time Adjust Tool FIXED-IN: 9.1.0 M +1 -1 NEWS M +22 -17 core/dplugins/bqm/metadata/timeadjust/timeadjust.cpp M +10 -6 core/dplugins/generic/metadata/timeadjust/timeadjustthread.cpp https://invent.kde.org/graphics/digikam/-/commit/2d386966e921b2edbfb0173fa6ea6e9fe09a7eec (In reply to Maik Qualmann from comment #1) > In principle, the behavior is correct. When reading sidecar metadata, XMP > metadata must override the Exif/IPTC metadata; otherwise, it cannot be > modified. Furthermore, Exiv2 includes this conversion table: > https://exiv2.org/conversion.html > > You can see how your date is generated as a result. However, we can > temporarily disable the reading of sidecar metadata in the Time Adjust Tool, > since the user explicitly requests Exif:original. This also means that if > Exif:original is not present, we will get an invalid date, i.e., for images > without metadata whose data is only present in XMP sidecar metadata. > > Maik Thank you Maik, for referring the conversion table. I guess what I am seeing here is an edge case caused by incomplete editing. Thanks again for the fix. |