Bug 466310 - Thrash sort by deletion time doesn't work
Summary: Thrash sort by deletion time doesn't work
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 22.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-23 16:11 UTC by fw.smit01
Modified: 2023-03-09 20:36 UTC (History)
2 users (show)

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


Attachments
Screenshot of trash sorted by deletion time (156.58 KB, image/png)
2023-03-08 15:23 UTC, fw.smit01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fw.smit01 2023-02-23 16:11:23 UTC
SUMMARY
Sorting by deletion time doesn't sort item by most recently deleted. It uses some different inexplicable sorting method. 


STEPS TO REPRODUCE
1. Open thrash
2. Sort by deletion time

OBSERVED RESULT
The items are not sorted by deletion time

EXPECTED RESULT
The items are correctly sorted by deletion time

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-200.fc37.x86_64 (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-8750H CPU @ 2.20GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: HP
Product Name: HP ZBook Studio G5

ADDITIONAL INFORMATION
It's broken in all view modes. Dolphin does seem to show the correct dates of deletion, however.
Comment 1 fw.smit01 2023-03-08 15:23:59 UTC
Created attachment 157113 [details]
Screenshot of trash sorted by deletion time

In the screenshot you can see the sorting being done in my trash directory. I've listed accessed and modified times as well to try to see a pattern here, but I couldn't find it. The sorting seems very arbitrary, although it's almost correct.
Comment 2 amarnath 2023-03-09 13:59:27 UTC
Hello,
I see that in the screen shot you attached, time stamps under "deletion time" are sorted in most recent to least recent order. Can you point where it is not sorted by Deletion time correctly?

Also, while looking for this bug I found that, dolphin sorts folders first and then files. Could you please assure me that this is not the point of confusion. Thanks.
Comment 3 fw.smit01 2023-03-09 20:36:06 UTC
Ah, yes I got confused because the folders were first sorted. Especially in grouped view (which is where I noticed it first) this looks weird. Maybe folders first should only put them as first of their group, not first overall.

Anyways, this bug is invalid, so I'll close it. Thanks for having a look.