Re: [Nautilus-list] bug or feature? file list order



On Friday, May 25, 2001, at 01:39  PM, Jens Ansorg wrote:

just noticed an something odd:

i have some files and directories whose names start with _ (underscore)

Now, nautilus kind of ignores this "letter" and sorts the files/dirs
using the following letter, i.e.

admin
cgi-bin
_diary
graphics
_links
styles
_travel

what I would expect is an sort order like

_diary
_links
_travel
admin
cgi-bin
... etc.

at least that seems logical to me and that's what I'm used from other
OSes

any chance to change this behaviour?

Interesting. I didn't expect this strange sorting rule, but the sorting rule comes from the underlying glibc sorting functions, specifically strcoll, and depends on the locale. If necessary, we can add a layer on top of strcoll that overrides this strange behavior.

You might want to make yourself a test program and verify that the strcoll on your glibc has this behavior.

    -- Darin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]