Bug 205271

Summary: dolphin: please option for POSIX sorting of files
Product: [Applications] dolphin Reporter: Janet <bugzilla>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: kdebugs.99.urgwurz
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot: sorting in konsole and dolphin

Description Janet 2009-08-27 00:14:32 UTC
Version:           1.3 (using 4.3.00 (KDE 4.3.0), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.30-5.slh.1-sidux-686

I have a huge problem with dolphin: I cannot cope with its file sorting, for me it is a real pain. 

Dolphin strangely sorts files in a mixture of file name and file ending. I have to search for e.g. a.png between ao.png and app.png. To my feeling the "fore"name of the file should be sorted independently and a  name with only one letter before the file ending always should be first in a directory.

In my .bashrc I have set LC_COLLATE=C to have a more "logical" sorting in konsole but dolphin ignores that. I also have set the region in systemsettings to something else than Germany and only added german language but unlinke in KDE3 where in that case C was used for sorting, that doesn't change anything.

Please please add an option to dolphin to sort the files POSIX like.
Comment 1 Janet 2009-08-27 00:18:27 UTC
Created attachment 36479 [details]
screenshot: sorting in konsole and dolphin

I'd expect the same sorting in dolphin as shown in konsole.
Comment 2 Peter Penz 2009-08-27 07:40:43 UTC
A fix will be committed this Monday (see bug 169883 for details), which allows to turn off the locale aware sorting and uses POSIX like sorting. The issue you see is a Qt-issue (which uses glibc, where the real issue is - see http://lists.kde.org/?l=kde-devel&m=124174284926086&w=2 for details) and is unrelated to Dolphins "natural sorting", which only assures that numbers are correctly sorted (1 < 10).
Comment 3 Peter Penz 2009-08-27 07:44:02 UTC
I marked this issue as duplicate to 169883, as the "real issue" there is also the locale issue and not the natural sorting.

*** This bug has been marked as a duplicate of bug 169883 ***
Comment 4 Peter Paulsen 2009-08-27 12:02:09 UTC
But "natural" sorting also should be possible to disable. E.g. I have my photos named after date and time like 200908271157.jpg - and when there are photos taken at the same time I just append the seconds: 20090827115713.jpg. And when even the second is the same I append another number: 200908271157132.jpg. In "natural" sorting that leads to high million/billion etc. like number jumps but the files belong together seen cipher by cipher and the file names are logical sequences.

Please please let us turn off "natural" sorting!
Comment 5 Peter Penz 2009-08-27 12:18:25 UTC
@Peter: Natural sorting will be turned off too when bug 169883 is resolved next Monday.
Comment 6 Janet 2009-08-27 18:59:55 UTC
Thanks. And may I say you really do a great job!!