You are not logged in.

#1 2012-08-13 07:54:49

BrainWorker
Member
Registered: 2011-02-23
Posts: 26

Thunar: incorrect sort order

Hello, everyone.

Guys, maybe any of you encountered with that problem in Thunar... especially if you use cyrillic letters in file or folder names.

I have the latest version of Thunar (1.4.0) installed, and it turns out it incorrectly sorts contents of folders.
I can not even understand the way Thunar sorts contents of any folder.

Here is the contents of one folder "sorted" by name (ascending).
Looking from top to bottom I see file names starting with...

  • cyrillic upper letters

  • digits

  • cyrillic lower letters

  • again digits

  • again cyrillic lower letters

  • english lower letters

  • and again cyrillic lower letters

Concrete example of another folder "sorted" by name:

голубь.txt
иволга.txt
аист.txt
орёл.txt
сова.txt

Absoluletly wrong order. The file with name that starts with 'A' is in the middle.

Cyrillic alpabet is:

Аа Бб Вв Гг Дд Ее Ёё Жж Зз Ии Йй Кк Лл Мм Нн Оо Пп Рр Сс Тт Уу Фф Хх Цц Чч Шш Щщ ЬЬ Ыы ЪЪ Ээ Юю Яя

Meanwhile

ls -1

gives right order

аист.txt
голубь.txt
иволга.txt
орёл.txt
сова.txt

PCManFM and other filemanagers give right sort order.

So, Thunar DOES NOT sort with 'ls'. Also, sort order of Thunar CAN NOT be changed using LC_COLLATE.
Thunar uses its own "mega-wise" algorithm.

P.S.
By the way, before version 1.4.0, everything was OK in Thunar. So one day their devs decided to make some "improvements".

Last edited by BrainWorker (2012-08-14 02:28:35)

Offline

#2 2012-08-13 12:07:11

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Thunar: incorrect sort order

Perhaps file a bug report upstream?

Offline

#3 2012-08-13 12:12:21

BrainWorker
Member
Registered: 2011-02-23
Posts: 26

Re: Thunar: incorrect sort order

anonymous_user wrote:

Perhaps file a bug report upstream?

I am just curious maybe somebody already encountered this situation and knows how to fix that...

Offline

#4 2012-08-13 13:11:25

AaronBP
Member
Registered: 2012-08-06
Posts: 149
Website

Re: Thunar: incorrect sort order

Definitely sounds like a bug that should be reported.

EDIT:
There is already a bug report open.

https://bugzilla.xfce.org/show_bug.cgi?id=7110

You should look and see if you have anything to add to the discussion there and perhaps ask on their IRC channel.

Last edited by AaronBP (2012-08-13 14:49:03)

Offline

#5 2012-08-14 02:29:22

BrainWorker
Member
Registered: 2011-02-23
Posts: 26

Re: Thunar: incorrect sort order

AaronBP wrote:

Definitely sounds like a bug that should be reported.

EDIT:
There is already a bug report open.

https://bugzilla.xfce.org/show_bug.cgi?id=7110

You should look and see if you have anything to add to the discussion there and perhaps ask on their IRC channel.

Thank you.

I registered and added new comment there.

Interesting how do they notice my comment - it's not new bug report but a comment to the report already opened long time ago...
And, yes, I do not really know how bugzilla really works...

Last edited by BrainWorker (2012-08-14 02:39:08)

Offline

#6 2012-08-15 05:47:47

BrainWorker
Member
Registered: 2011-02-23
Posts: 26

Re: Thunar: incorrect sort order

For those who are interested...

My new bug report
https://bugzilla.xfce.org/show_bug.cgi?id=9218

Last edited by BrainWorker (2012-08-15 05:49:38)

Offline

#7 2012-08-15 15:18:05

AaronBP
Member
Registered: 2012-08-06
Posts: 149
Website

Re: Thunar: incorrect sort order

They notice because they are in the CC list. Whenever a new comment comes in they get an email. You should not open a new bug if there's already one open about it.

Last edited by AaronBP (2012-08-15 15:18:49)

Offline

#8 2012-08-16 04:49:26

BrainWorker
Member
Registered: 2011-02-23
Posts: 26

Re: Thunar: incorrect sort order

AaronBP wrote:

They notice because they are in the CC list. Whenever a new comment comes in they get an email. You should not open a new bug if there's already one open about it.

I don't really care if they are going to complain about it or not. My goal is to make them pay attention to this bug, because I think it is nicely forgotten.

Offline

#9 2012-08-17 01:33:20

AaronBP
Member
Registered: 2012-08-06
Posts: 149
Website

Re: Thunar: incorrect sort order

BrainWorker wrote:
AaronBP wrote:

They notice because they are in the CC list. Whenever a new comment comes in they get an email. You should not open a new bug if there's already one open about it.

I don't really care if they are going to complain about it or not. My goal is to make them pay attention to this bug, because I think it is nicely forgotten.

This is open source, bro. You can't make anybody do anything, but you might encourage some admin to ban you if you willfully break rules. If you can't break open the source and fix the problem yourself (which is surely the most speedy solution!), you're better off following community procedures and being as helpful as possible. Otherwise you'll just be excluded and ignored.

Offline

Board footer

Powered by FluxBB