From kde-core-devel Mon Aug 17 22:01:35 2009 From: "Peter Penz" Date: Mon, 17 Aug 2009 22:01:35 +0000 To: kde-core-devel Subject: Review Request: Add global option to turn off "natural sorting" of Message-Id: <20090817220135.17049.1158 () localhost> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=125054655318886 ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviewboard.kde.org/r/1350/ ----------------------------------------------------------- Review request for kdelibs. Summary ------- Corresponding to https://bugs.kde.org/show_bug.cgi?id=169883 some people like to disable the "natural sorting" (http://sourcefrog.net/projects/natsort) of user visible strings in Dolphin, Konqueror, the file dialog, ... so that instead of: image 1.jpg image 2.jpg image 10.jpg image 11.jpg (= natural sorting) strings are sorted by their unicode values like when doing an ls: image 10.jpg image 11.jpg image 1.jpg image 2.jpg This makes sense especially if people have named their directories and files before "natural sorting" was default (it got default since KDE 4.0). In opposite to other sort properties like "Ascending", "Folder First", "By Name|Size|Date|..." I don't see this as a property that can be remembered per directory, but as a global setting. I also doubt that the majority of our users care about turning off the "natural sorting" ("natural sorting" is default on Windows since XP and also default on Mac OS X's Finder); so I'd prefer _not_ offering a menu entry checkbox "[x] Natural Sorting" beside the other sorting properties as I'm sure only ver less people know what "natural sorting" means. Instead I'd like to add an advanced UI option in the Dolphin settings dialog or a kcm module that adjusts this global setting (the location of the UI option has not been decided yet, I'd first need the OK that a global setting makes sense for everybody). Any opinions? This addresses bug 169883. https://bugs.kde.org/show_bug.cgi?id=169883 Diffs ----- trunk/KDE/kdelibs/kdeui/kernel/kglobalsettings.h 1012603 trunk/KDE/kdelibs/kdeui/kernel/kglobalsettings.cpp 1012603 trunk/KDE/kdelibs/kfile/kdirsortfilterproxymodel.cpp 1012603 Diff: http://reviewboard.kde.org/r/1350/diff Testing ------- Thanks, Peter