Bug 509223

Summary: Changing the date of a photo via Adjust Time & Date works correctly, but if I later apply a tag to the same photo, digiKam resets the photo’s date to the current date/time.
Product: [Applications] digikam Reporter: massimo.pisani.1972
Component: Plugin-Bqm-TimeAdjustAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: metzpinguin
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description massimo.pisani.1972 2025-09-07 10:50:20 UTC
I found a reproducible bug in digiKam:
	1.	Open a photo in digiKam.
	2.	Use Item → Adjust Time & Date to change its date/time. The new date is saved and displayed correctly.
	3.	Afterwards, assign a tag to the same photo.
	4.	Immediately after applying the tag, the photo’s date is overwritten and set to the current system date/time instead of keeping the value I previously set.

This issue breaks chronological organization, since the photo jumps in the timeline or album sorting as if it were taken today.
Comment 1 Maik Qualmann 2025-09-07 10:59:58 UTC
The problem cannot be reproduced here.
I suspect a faulty configuration on your end.
The problem can occur if you do not adjust all or all possible date metadata.
Then, when you write tags later, the old date will be reset by rereading the metadata.

We need your settings for the Adjust Time tool.
Your metadata settings and sidecar.
It's best to also include a debug log of the process.

Maik
Comment 2 Bug Janitor Service 2025-09-22 03:46:55 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-10-07 03:47:03 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.