[dolphin] [Bug 425457] Sorting by "Modified" should place most recent items on top
Méven
bugzilla_noreply at kde.org
Thu Sep 11 03:28:30 BST 2025
https://bugs.kde.org/show_bug.cgi?id=425457
Méven <meven at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Latest Commit| |https://invent.kde.org/syst
| |em/dolphin/-/commit/ad6ccf2
| |b86b3e97138d13518bd6ea8fd67
| |0d3530
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #10 from Méven <meven at kde.org> ---
Git commit ad6ccf2b86b3e97138d13518bd6ea8fd670d3530 by Méven Car, on behalf of
Nathan Williams.
Committed on 11/09/2025 at 02:28.
Pushed by meven into branch 'master'.
dolphinview: add preferred sort order for roles
This commit ensures that both the menu and column headers in table view
will have the same default sorting (ascending/descending) for each role.
It also saves the user's preferences for each role throughout the session.
Previously, sorting by "Modified" would always sort by "Oldest First."
If the user then changed to "Newest First" and sorted again by "Name,"
files would be sorted in reverse alphabetical order (Z-A).
Now, sorting by "Modified" defaults to "Newest First." If a user switches
between multiple roles, the default for each role will be used unless
the user changes to a non-default sort order. In that case, the user's
preference will be applied.
Defaults:
**Descending Order:**
Time-based roles
- modificationtime
- creationtime
- accesstime
- deletiontime
- imageDateTime
- releaseYear
Size/dimension roles
- size
- width
- height
- pageCount
- wordCount
- lineCount
Quality/Quantity roles
- rating
- duration
- bitrate
- frameRate
**Ascending order:**
- Text based roles (A-Z)
- All other roles
M +2 -8 src/kitemviews/private/kitemlistheaderwidget.cpp
M +56 -0 src/views/dolphinview.cpp
M +22 -0 src/views/dolphinview.h
M +5 -3 src/views/dolphinviewactionhandler.cpp
https://invent.kde.org/system/dolphin/-/commit/ad6ccf2b86b3e97138d13518bd6ea8fd670d3530
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list