GNOME Bugzilla – Bug 316960
bad file names sorting in nautilus
Last modified: 2010-05-26 09:47:13 UTC
Distribution/Version: ubuntu breezy go in a directory with filenames like the picture attachment i'll link shows. you can see that two files are not sorted together properly. my locale is en_US.UTF-8 ($LANG). but as you can see the filenames are only ASCII. i'll attach the picture now.
Created attachment 52521 [details] look at the file ordering
Created attachment 54123 [details] another case of wrong sorting The sorting is wrong here again, "Lara 2005-10-26 11h32m00s.jpg" should be before "Lara 2005-10-26 11h32m06s.jpg". The sorting is wrong both in icon view and list view.
This Bug is very urgent! It still exists in Nautilus 2.12.2! (Debian experimental) To reproduce, you simply have to create those folders: 11 and 1a, Nautilus displays them in wrong order: (1a first)
*** Bug 324338 has been marked as a duplicate of this bug. ***
Confirmed with Nautilus 2.12.1 on Ubuntu Breezy.
I don't think bug 324338 is a duplicate. Unless if you can guarantee that when this bug is fixed... the two applications (Nautilus and Open/save dialog) will sort file/directory lists excatly the same. Bug 324338 is about consistency not about sort order.
IMHO this is about sorting correctly or not. If both applications sort correct, there will be no difference. If this bug is fixed it has to look like it does in (Open/Save Dialog). Otherwise there is also a "sorting" bug in (Open/Save Dialog).
Sorting problems can be annoying, but are not high priority. Crashers are.
Is it documented what "correct sorting" is? The open/save file dialog seems to ignore characters like # I dunno know if that is correct sorting, but I was surprised to find it that way, and would like to find out know excatly what correct sorting is.
Ok - it is not. Sorry. You're right, but shouldn't the "file open/save dialog" use the same algorithm as nautilus? There are several possibilities to sort (afaik): 1 - you sort according to unicode-numbers 2 - you ignore everything but numbers and letters 3 - like (2) but you treat some letters like the german "Ä,Ö,Ü" as "A,O,U" and ignore whether the letters are big or small Nautilus did the third thing before Version 2.12.
I don't care if Nautilus uses the same algorithm as "file open/save dialog" or the other way around as long as they are the same. ;-) I would like to have the same sorting wether I use File Roller, Nautilus, Open/Save File. Perhapes list of wallpapers in "Desktop Wallpaper Preferences" should also be sorted using the same algorithm, like a lot of other things I haven't thought about yet.
I've got this exact same problem in Ubuntu 5.10 with Gnome 2.12.1. In my particular case, I have a bunch of directories which are named after a number converted to hexadecimal. For example, I could have names like 43C3-DB1A and 43C3-DB3F. I was expecting those directories to be sorted according to their value. But some of them just get inverted. It seems that letters sometimes get sorted before numbers. I'm glad to see I'm not alone in this situation...
I don't get nautilus when handling leading numbersfollowed by characters... I've tested with some files and didn't manage to understand it. That doen't look like sorted at all: 0 0a 0b 0c 1 0d 2 0e 3 0f 4 0g 5 0h 6 0i 7 0j 8 0k 9 0l 0m 10
today i also discovered that EOG image collection uses a different sorting than nautilus. in my case, the first file in nautilus was the third file in EOG image collection... IMO, GNOME should have one filename sorting, and stick with it...
You may find this comment[1] useful for this bug. [1] http://bugzilla.gnome.org/show_bug.cgi?id=547350#c3
Could be a duplicate of bug #355152.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 355152 ***