Summary: | Dolphin 'Sort by Name' View does not work properly | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | j0sh <jazzedupj0sh> |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | felixernst, rsbrux |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
A snapshot of how the list view shows the flaw
Screenshot of wrong sort order |
Description
j0sh
2010-05-13 21:08:38 UTC
Created attachment 43551 [details]
A snapshot of how the list view shows the flaw
The 'May 2009' and 'November 2009' files at the top of the list are not sorted. These are new files that were copied together into the folder.
Interestingly the sorted file 'June 2010' was also unsorted, but after the above mentioned files were copied into the folder, 'June 2010' was automatically sorted out.
SVN commit 1126664 by ppenz: Backport of SVN commit 1126660: Fix 2 issues in combination with natural sorting. CCBUG: 237541 CCBUG: 237551 M +31 -0 tests/kstringhandlertest.cpp M +3 -3 text/kstringhandler.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1126664 Created attachment 155273 [details]
Screenshot of wrong sort order
This is happening to me in Dolphin 22.04.3 running under Ubuntu Studio 22.04 (KDE Plasma 5.24.7)
This is happening to me in Dolphin 22.04.3 running under Ubuntu Studio 22.04 (KDE Plasma 5.24.7) Please don't reopen bug reports that have been closed/fixed for so many years. They are most likely not relevant to your problem anymore. Your picture does not show a bug as far as I can tell. Check if you have "natural sorting" enabled in Dolphin Settings>General>Behaviour>sort mode. "Natural sorting" sorts 3 before 10 because 3 is a smaller number than 10. If you disable that, it will sort lexically which puts 10 before 3. (You might have to restart Dolphin for this to take effect.) Similarly 20190512 is a bigger number than 202212. Dolphin can not guess if the number is meant to represent a date. Thanks for your explanation. I wasn't aware of that feature, perhaps because it was under "Settings - Configure Dolphin" and not under "View - Sort By", where I would have expected it. (In reply to rsbrux from comment #6) > Thanks for your explanation. I wasn't aware of that feature, perhaps because > it was under "Settings - Configure Dolphin" and not under "View - Sort By", > where I would have expected it. I agree with you on that. I am quite unhappy about how Dolphin's settings are organised as well. See https://invent.kde.org/system/dolphin/-/issues/36 for details. In the new organisation I am proposing there the sorting would actually end up in View Area>General>Sorting mode: (X) Natural. |