https://bugs.kde.org/show_bug.cgi?id=506070
Bug ID: 506070 Summary: Incorrect sorting order in Gwenview Classification: Applications Product: gwenview Version First unspecified Reported In: Platform: unspecified OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: gwenview-bugs-n...@kde.org Reporter: ctbmlog...@bk.ru Target Milestone: --- Created attachment 182574 --> https://bugs.kde.org/attachment.cgi?id=182574&action=edit The difference between sort order in Dolphin and Gwenview SUMMARY I have a folder with images sorted in Dolphin by the time of when the contents were created/modified. In Dolphin the sorting order appears correctly. Gwenview correctly follows this property of the folder and sorts images by the same order, except certain images which always get misplaced. Investigating the issue I found that the affected images come with attached EXIF and XMP metadata, which lists a different time of change/creation than in the system and Gwenview apparently prioritizes those extra metadata entries instead of the system ones. This behaviour is unexpected and unwanted, because it differs from the Dolphin's sorting order, which uses the system's change/creation timestamps. It also contradicts user expectations: the time of creation/change of the file is now, not some invisible entry in metadata. STEPS TO REPRODUCE 1. Get a folder with images that contain images without EXIF/XMP metadata (likely any images), and sort it in Dolphin by modified/created date. 2. Download the picture from https://www.artstation.com/artwork/qnqQn and put it in the same folder with images. Its modified/created property will be set to now and it should appear last. 3. Open it in the Gwenview and see that the downloaded picture's sorting order is not last, but rather it is sorted as if its modified/created property was 2017 (assuming that other images in the test folder are newer than 2017). OBSERVED RESULT The picture in Gwenview is sorted out of order (by creation/modified date) and is placed as if its modified/created property was 2017. EXPECTED RESULT The picture in Gwenview should be sorted in the same way as in Dolphin. SOFTWARE/OS VERSIONS Linux/KDE Plasma: ROSA Fresh 13, also checked on AltLinux Workstation 11 K KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: 6.8.3 ADDITIONAL INFORMATION Attached the screenshot -- You are receiving this mail because: You are watching all bug changes.