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 » Thu 24 Jan, 2013 10:48

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: 11419
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 17 times
Been thanked: 101 times

Re: Wrong file sorting by name

Post by John Doe » Thu 24 Jan, 2013 10:51

Please specify Far version.

drumsibumsi
Posts: 9
Joined: Fri 04 Jan, 2013 16:19

Re: Wrong file sorting by name

Post by drumsibumsi » Thu 24 Jan, 2013 11:04

Far 3.0.3114 (the latest nightly build).

User avatar
John Doe
Бюрократ
Posts: 11419
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 17 times
Been thanked: 101 times

Re: Wrong file sorting by name

Post by John Doe » Thu 24 Jan, 2013 11:08

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 » Thu 24 Jan, 2013 11:16

Image

User avatar
John Doe
Бюрократ
Posts: 11419
Joined: Wed 27 Apr, 2005 20:42
Has thanked: 17 times
Been thanked: 101 times

Re: Wrong file sorting by name

Post by John Doe » Thu 24 Jan, 2013 11:23

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

What if you open Explorer? Is sorting correct there?

2useven10
Posts: 3045
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 2 times
Been thanked: 84 times

Re: Wrong file sorting by name

Post by 2useven10 » Thu 24 Jan, 2013 11:28

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 » Thu 24 Jan, 2013 11:32

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 » Thu 24 Jan, 2013 11:36

It was due to regional settings. How silly of me! facepalm2

User avatar
HaRT
Moderator
Posts: 8118
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 68 times
Been thanked: 107 times

Re: Wrong file sorting by name

Post by HaRT » Sat 26 Jan, 2013 00:01

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 » Sat 26 Jan, 2013 11:39

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: 4646
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 125 times
Contact:

Re: Wrong file sorting by name

Post by DrKnS » Sat 26 Jan, 2013 12:02

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 » Sat 26 Jan, 2013 13:19

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: 5232
Joined: Thu 23 Mar, 2006 21:36
Location: Israel
Has thanked: 16 times
Been thanked: 152 times

Re: Wrong file sorting by name

Post by Shmuel » Sat 26 Jan, 2013 13:23

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”