Bug 458958

Summary: Album items not sorted according to date from XMP sidecar
Product: [Applications] digikam Reporter: YaP <yap+kde>
Component: Preview-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.8.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 7.9.0
Sentry Crash Report:

Description YaP 2022-09-10 13:25:41 UTC
SUMMARY
My photos/videos are stored read only on the disk and I configured Digikam to store all the changes in the sidecar file. The creation date/time in some of my videos is wrong so I've adjusted the date/time in the sidecar. When sorting my album by creation date Digikam seems to use the creation date stored in the original image rather than the one in the sidecar.


STEPS TO REPRODUCE
1. Modify the creation date in the sidecar file for a given photo
2. Check the ordering in the album view.

OBSERVED RESULT
Ordering hasn't changed.

EXPECTED RESULT
Ordering takes into account the creation date/time.


SOFTWARE/OS VERSIONS
macOS:  12.5

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2022-09-10 13:29:47 UTC
You should change the creation date using the Time Adjust tool in digiKam, then the database creation date will also be updated.
If you do this externally, you may need to re-read the metadata from the sidecar video files. Reading sidecars must of course be activated.

Maik
Comment 2 YaP 2022-09-10 13:49:50 UTC
Updating the database worked. Also using the Time Adjust tool worked. Thanks for the quick reply.