Page 1 of 1

Wrong file sorting by name

Posted: Thu 24 Jan, 2013 10:48
by drumsibumsi
Hi!

I believe I've found a bug with file sorting by name. How to reproduce:

1. Create and enter an empty directory.
2. Create new directories named i, j and y.
3. Make sure files are sorted by name (CTRL+F3).
4. Seems that y is trapped between i and j, which is wrong according to latin alphabet.

Re: Wrong file sorting by name

Posted: Thu 24 Jan, 2013 10:51
by John Doe
Please specify Far version.

Re: Wrong file sorting by name

Posted: Thu 24 Jan, 2013 11:04
by drumsibumsi
Far 3.0.3114 (the latest nightly build).

Re: Wrong file sorting by name

Posted: Thu 24 Jan, 2013 11:08
by John Doe
Press Ctrl-F12 and make screenshot.

Re: Wrong file sorting by name

Posted: Thu 24 Jan, 2013 11:16
by drumsibumsi
Image

Re: Wrong file sorting by name

Posted: Thu 24 Jan, 2013 11:23
by John Doe
Really weird.
I have correct sorting with the same Far version.

What if you open Explorer? Is sorting correct there?

Re: Wrong file sorting by name

Posted: Thu 24 Jan, 2013 11:28
by 2useven10
Are you sure that 'j' is U+006A Latin Small Letter J (not for example U+0458 Cyrillic Small Letter Je) ?

Re: Wrong file sorting by name

Posted: Thu 24 Jan, 2013 11:32
by drumsibumsi
Ouch! Really, the Explorer shows the same issue. Probably a problem with some of my locale settings.
Sorry for taking your time.

PS: No, these are pure latin characters.

Re: Wrong file sorting by name

Posted: Thu 24 Jan, 2013 11:36
by drumsibumsi
It was due to regional settings. How silly of me! facepalm2

Re: Wrong file sorting by name

Posted: Sat 26 Jan, 2013 00:01
by HaRT
drumsibumsi wrote:It was due to regional settings. How silly of me! facepalm2
I'm curious which regional settings give this...

Re: Wrong file sorting by name

Posted: Sat 26 Jan, 2013 11:39
by drumsibumsi
It was Latvian using Windows 8. I don't remember if Windows 7 had this issue, since I've previously used Necromancer's DOS Navigator, which used plain Latin sorting. Now it seems that NDN has died with some irritating bugs and usability issues in it.

Anyway, FAR is stable and very usable. The only two things I'd been so much used to in NDN:
1. DEL key deletes file or directory. It was very hard to switch back to F8, so I've made a macro.
2. ESC key shows the output window. Again a macro for CTRL+O helped.

A million thanks for FAR Manager. :)

Re: Wrong file sorting by name

Posted: Sat 26 Jan, 2013 12:02
by DrKnS
JFYI: both these macros are available out of the box.

Re: Wrong file sorting by name

Posted: Sat 26 Jan, 2013 13:19
by drumsibumsi
Well, may be I've missed something, but I've just tried the latest nightly build and both DEL and ESC keys didn't do anything... So, what did you mean by saying "out of the box"? How do I enable these "out of the box" macros?

Re: Wrong file sorting by name

Posted: Sat 26 Jan, 2013 13:23
by Shmuel
There is Addons\Macros folder in the Far Manager distribution. Just copy needed files from there to your %farprofile%\Macros\scripts folder.