(*** This bug was imported into bugs.kde.org ***) Package: konqueror Version: 3.0.0 (using KDE 3.0.0 ) Severity: normal Installed from: compiled sources Compiler: gcc version 2.95.2 19991024 (release) OS: Linux (i686) release 2.2.14-5.0smp OS/Compiler notes: The sort order of items in directories is not affected by the Case Insensitive Sort. This means that . files files starting with capitals and files starting with lower case are mixed up eg a .b C d instead of: .b C a d as it was in KDE2 This applies both to Icon views and List views. Apart from this KDE3 is looking good. Rob (Submitted via bugs.kde.org) (Called from KBugReport dialog)
It also happens with KFileDialog
I can't reproduce this with CVS HEAD. With Case Insensitive Sorting I get: .b a C d With case sensitive: .b C a d You example: a .b C d would never happen (.b is always sorted before).
When I have 4 files : a,A,z,Z, I can never obtain this order : a,z,A,Z, that I should reach when asking for a case sensitive sorting. It is the same in icon view and in list view. This is a very old problem in Konqueror.
I can't reproduce either. Case sensitive sorting works fine, except that Konqueror forgets it's doing insensitive when you close it and open back again.
Perhaps I know why it does not work on my computer. I use Reiserfs, which uses another way to sort the files. If it is confirmed Reiserfs is the problem, it would be good to fix it or to hide this menu item when Reiserfs is detected.
Found why it does not work ! (thanks to Rob Walker) You just need "export LC_COLLATE=false" I think this does not close the bug, but shows what to do : Konqueror must dectect if it can sorte as asked. If the environment is wrong, there should be an explicit message saying what to do.
What about me saying that it works? And I'm working on ReiserFS. My LC_COLLATE has nothing special.
Does your $LC_COLLATE show Fr_FR or POSIX ? On my Mandrake, in the first case, it does not work, in the other one, it works. With no LC_COLLATE, it works (Slackware)
Neither. LC_COLLATE was unset, which means its value is inherited from $LANG. But when I set LC_COLLATE=$LANG, the symptom starts to happen. This must affect somehow the sorting algorithm, even though it shouldn't. Therefore, t's a bug. (probably in Qt though)
Subject: KDE_3_2_BRANCH: kdebase CVS commit by faure: Fixed case-sensitive sorting - localeAwareCompare is often case-insensitive (depending on LC_COLLATE), so check for that at runtime and use straight compare when it is. *libc seem to lack a locale-aware case-sensitive string compare function. Settings were also wrong: KonqListView* had a redundant bool, not always set correctly. KonqIconViewWidget lacked such a 'redundant' bool, added one there :) The default is now case-insensitive sorting, matching what was the actual default almost everywhere. CCMAIL: 40131-done@bugs.kde.org M +2 -1 konqueror/iconview/konq_iconview.cc 1.453.2.1 M +4 -5 konqueror/listview/konq_listview.cc 1.203.2.1 M +7 -6 konqueror/listview/konq_listviewitems.cc 1.59.2.2 M +12 -2 konqueror/listview/konq_listviewwidget.cc 1.226.2.2 M +1 -2 konqueror/listview/konq_listviewwidget.h 1.83.2.1 M +11 -1 libkonq/kfileivi.cc 1.80.2.1 M +3 -1 libkonq/kfileivi.h 1.48.2.1 M +13 -1 libkonq/konq_iconviewwidget.cc 1.269.2.1 M +3 -0 libkonq/konq_iconviewwidget.h 1.103.2.1 M +2 -3 libkonq/konq_propsview.cc 1.83.2.1 M +13 -0 libkonq/konq_settings.cc 1.52.2.1 M +2 -0 libkonq/konq_settings.h 1.32.2.1
Subject: Re: case sensitive directory sort order is ignored Le jeudi 05 Février 2004 16:06, David Faure a écrit : > ------- You are receiving this mail because: ------- > You are on the CC list for the bug, or are watching someone who is. > You are a voter for the bug, or are watching someone who is. > > http://bugs.kde.org/show_bug.cgi?id=40131 > faure@kde.org changed: > > What |Removed |Added > --------------------------------------------------------------------------- >- Status|NEW |RESOLVED > Resolution| |FIXED > :-))))) > Gérard
Do I have to recompile konqueror? I tried: export LC_COLLATE=POSIX konqueror and it's still sorting mixed. Yes, I'm using reiserfs, but the Midnight-Commander has no trouble sorting case sensitive.