Bug 479386 - Files sorted by creation date are at the wrong position after adding a tag.
Summary: Files sorted by creation date are at the wrong position after adding a tag.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-ItemsSort (other bugs)
Version First Reported In: 8.3.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-04 10:48 UTC by Frank Escher
Modified: 2024-01-04 20:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Escher 2024-01-04 10:48:53 UTC
SUMMARY
***
files sorted by creation date are at the wrong position after adding a tag. file modify date was set as expected, creation date was not altered. 
***


STEPS TO REPRODUCE
1. open an existing album
2. sort by creation date
3. add a tag to a file

OBSERVED RESULT
file jumps to another sorting location. creation date is not altered.

EXPECTED RESULT
file remains at the same position.

SOFTWARE/OS VERSIONS
Windows: 11


ADDITIONAL INFORMATION
Comment 1 Frank Escher 2024-01-04 11:07:11 UTC
does not appear if several icons are selected
Comment 2 Maik Qualmann 2024-01-04 11:27:09 UTC
Problem cannot be reproduced here, are you sure you have set the item sorting to creation date?

Maik
Comment 3 Maik Qualmann 2024-01-04 12:07:17 UTC
Ok, I can reproduce it if the tag is set with the right sidebar. It's probably a UTC problem with the date field there, I'll fix it.

Maik
Comment 4 Maik Qualmann 2024-01-04 20:18:37 UTC
Git commit c259abbb838edefdbee983226330bc4c436a8ae1 by Maik Qualmann.
Committed on 04/01/2024 at 21:17.
Pushed by mqualmann into branch 'master'.

more UTC date time fixes
FIXED-IN: 8.3.0

M  +1    -1    NEWS
M  +4    -1    core/app/date/ddatetimeedit.cpp
M  +10   -2    core/libs/database/coredb/coredb.cpp
M  +0    -2    core/libs/database/item/containers/iteminfo_properties.cpp
M  +2    -0    core/libs/database/item/lister/itemlister.cpp
M  +2    -0    core/libs/database/item/lister/itemlister_palbum.cpp
M  +5    -0    core/libs/database/item/lister/itemlister_salbum.cpp
M  +2    -0    core/libs/database/item/lister/itemlister_talbum.cpp

https://invent.kde.org/graphics/digikam/-/commit/c259abbb838edefdbee983226330bc4c436a8ae1