Bug 500332 - Photos with timezone in exiv2 should reflect it
Summary: Photos with timezone in exiv2 should reflect it
Status: REPORTED
Alias: None
Product: frameworks-kfilemetadata
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.11.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 17:09 UTC by Méven
Modified: 2025-02-22 12:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Sample photo and metatdata (2.09 MB, image/jpeg)
2025-02-21 19:18 UTC, BushMechanic
Details
Metadata for previous image (155.85 KB, image/png)
2025-02-22 10:16 UTC, BushMechanic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Méven 2025-02-18 17:09:57 UTC
SUMMARY

With new cameras using exif v2.3.1 they can have dates that uses timezone expressed as offset to UTC.

https://github.com/Exiv2/exiv2/issues/3172

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Méven 2025-02-18 17:22:21 UTC
https://exiv2.org/tags.html supports Exif.Photo.OffsetTimeOriginal
Comment 2 BushMechanic 2025-02-21 19:18:51 UTC
Created attachment 178703 [details]
Sample photo and metatdata

Here's a sample photo with metadata as requested by Meven.
Comment 3 BushMechanic 2025-02-22 10:16:47 UTC
Created attachment 178722 [details]
Metadata for previous image

These are screenshots of metadata for the previous image.  To the right is what's reported through the Information panel in Dolphin and the other two are from jExifToolGui.
As you can see, the EXIF metadata for the photo has remained correct throughout but the FILE metadata is all over the shop with both the 'Modified' and 'Accessed' fields showing wildly divergent and implausible values (i.e. accessed before it was even created).  The value for 'Created' field for the FILE metadata show the time the image was transferred from the camera and became a file on the computer which I suppose is technically correct.  It's of little use though when organising images, particularly from a large shoot, which generally have to be placed in order of the sequence they were shot in.  In this regard, the 'Date/Time Original' field from the EXIF data is more valuable and I would submit should be the default field of reference, not FILE.
Comment 4 Bug Janitor Service 2025-02-22 12:11:42 UTC
A possibly relevant merge request was started @ https://invent.kde.org/libraries/baloo-widgets/-/merge_requests/85