Wrong file sorting by name

Here you can report bugs found in Far Manager.
Post Reply
drumsibumsi
Posts: 9
Joined: Fri 04 Jan, 2013 16:19

Wrong file sorting by name

Post 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.
User avatar
John Doe
Бюрократ
Posts: 12872
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 38 times
Been thanked: 293 times

Re: Wrong file sorting by name

Post by John Doe »

Please specify Far version.
drumsibumsi
Posts: 9
Joined: Fri 04 Jan, 2013 16:19

Re: Wrong file sorting by name

Post by drumsibumsi »

Far 3.0.3114 (the latest nightly build).
User avatar
John Doe
Бюрократ
Posts: 12872
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 38 times
Been thanked: 293 times

Re: Wrong file sorting by name

Post by John Doe »

Press Ctrl-F12 and make screenshot.
drumsibumsi
Posts: 9
Joined: Fri 04 Jan, 2013 16:19

Re: Wrong file sorting by name

Post by drumsibumsi »

Image
User avatar
John Doe
Бюрократ
Posts: 12872
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 38 times
Been thanked: 293 times

Re: Wrong file sorting by name

Post by John Doe »

Really weird.
I have correct sorting with the same Far version.

What if you open Explorer? Is sorting correct there?
2useven10
Posts: 4072
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 5 times
Been thanked: 189 times

Re: Wrong file sorting by name

Post by 2useven10 »

Are you sure that 'j' is U+006A Latin Small Letter J (not for example U+0458 Cyrillic Small Letter Je) ?
drumsibumsi
Posts: 9
Joined: Fri 04 Jan, 2013 16:19

Re: Wrong file sorting by name

Post 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.
drumsibumsi
Posts: 9
Joined: Fri 04 Jan, 2013 16:19

Re: Wrong file sorting by name

Post by drumsibumsi »

It was due to regional settings. How silly of me! facepalm2
User avatar
HaRT
Moderator
Posts: 9530
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 109 times
Been thanked: 229 times

Re: Wrong file sorting by name

Post by HaRT »

drumsibumsi wrote:It was due to regional settings. How silly of me! facepalm2
I'm curious which regional settings give this...
Фар есть инструмент, а не нянька. © 2009 DrKnS
drumsibumsi
Posts: 9
Joined: Fri 04 Jan, 2013 16:19

Re: Wrong file sorting by name

Post 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. :)
User avatar
DrKnS
Posts: 5674
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 9 times
Been thanked: 311 times

Re: Wrong file sorting by name

Post by DrKnS »

JFYI: both these macros are available out of the box.
drumsibumsi
Posts: 9
Joined: Fri 04 Jan, 2013 16:19

Re: Wrong file sorting by name

Post 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?
Shmuel
Posts: 6167
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 31 times
Been thanked: 330 times

Re: Wrong file sorting by name

Post by Shmuel »

There is Addons\Macros folder in the Far Manager distribution. Just copy needed files from there to your %farprofile%\Macros\scripts folder.
Post Reply

Return to “Bug Reports”