Bug 437582 - Add sort function to Recent Files/Locations pages
Summary: Add sort function to Recent Files/Locations pages
Status: RESOLVED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.04.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-23 22:59 UTC by medin
Modified: 2024-04-05 17:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Add sort function to Recent Files/Locations pages (104.31 KB, image/png)
2021-05-23 22:59 UTC, medin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description medin 2021-05-23 22:59:33 UTC
Created attachment 138722 [details]
Add sort function to Recent Files/Locations pages

The list of items shown in Recent Files/Locations pages have advantage to be shown sorted from recent to old (or the opposite) according to their time of access, but with Dolphin we can sort them only by date of creation or modification, while the correct way is to sort them by date of access which doesn't work because it's disabled on Linux to speed up IO, so it would be great to add an option to sort Recent Files/Locations items from recent to old (or the opposite) according to Plasma sort mechanism to make it easy for user to access the most recent files.
So it will work like there's hidden column, when its sort is enabled then any other active column's sort will be replaced and when it's disabled the previous used sort will be restored and enabled. See attached image for more info.
Comment 1 Méven Car 2024-04-05 17:15:58 UTC
> while the correct way is to sort them by date of access which doesn't work because it's disabled on Linux to speed up IO, so it would be great to add an option to sort Recent Files/Locations items from recent to old (or the opposite) according to Plasma sort mechanism to make it easy for user to access the most recent files

That's not true, access time tracking can be disabled and is often disabled for SSDs since they have limited write cycles lifetime, but that's an issue that's being mitigated nowadays.

Also in recent document they are access times that are not the file system access time but rather the time an application open the file and wrote it to ~/.local/share/recently-used.xbel not from the filesystem metadata, so sorting by access time will do what you expect.

You don't have to have the access time column displayed to sort by it.