[dolphin] [Bug 413660] New: Natural sorting not working as documented
Werner Lehmann
bugzilla_noreply at kde.org
Thu Oct 31 11:23:04 GMT 2019
https://bugs.kde.org/show_bug.cgi?id=413660
Bug ID: 413660
Summary: Natural sorting not working as documented
Product: dolphin
Version: 19.04.3
Platform: Ubuntu Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: view-engine: general
Assignee: dolphin-bugs-null at kde.org
Reporter: wl at dm17.com
CC: kfm-devel at kde.org
Target Milestone: ---
SUMMARY
Natural sorting does not sort numbers in filenames (anymore?). The example in
the Dolphin manual does not work like documented.
STEPS TO REPRODUCE
1. Enable natural sorting.
2. In a test folder, create test files: "touch File1 File2 File10"
OBSERVED RESULT
Regardless of selected sort order in Dolphin preferences, files are always
sorted like this:
File1
File10
File2
EXPECTED RESULT
In natural sort order, files are sorted like this:
File1
File2
File10
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 19.10 with Plasma backports
KDE Plasma Version: 5.17.2
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
ADDITIONAL INFORMATION
The reproducible example is taken from the Dolphin manual, see
https://docs.kde.org/stable5/en/applications/dolphin/configuring-dolphin.html
See also the result of ls with -v option:
$ ls -v
File1 File2 File10
$ ls
File1 File10 File2
Reading other bugs I realize that this may be related to locale. This is my
locale info:
LANG=en_US.UTF-8
LANGUAGE=en_US:de
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=POSIX
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list