1.8.2 (Windows 10) Alphabetical sorting of categories

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
vovka
Posts: 10
Joined: Fri Nov 30, 2007 10:32 pm

1.8.2 (Windows 10) Alphabetical sorting of categories

Post by vovka »

Alphabetical sorting function that is used for categories is wrong for Ukrainian alphabet
here's the screenshots
1. these are newly created categories and they are sorted incorrectly
Clipboard 2.png
2. these are the same categories after XnViewMP restart, the sorting is different from the first screenshot but is also wrong
Clipboard 3.png
3. this screenshot is made in XnView 2.51.7, i created the same categories, and here the order is correct
Clipboard 4.png

this is the link to Ukrainian alphabet https://en.wikipedia.org/wiki/Ukrainian_alphabet
but i suspect this problem persists not only for Ukrainian but for other alphabets as well

thank you
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by xnview »

could you send me as text, the category's name in ukrainian?
Pierre.
vovka
Posts: 10
Joined: Fri Nov 30, 2007 10:32 pm

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by vovka »

here it is (in wrong order)

Code: Select all

test
	Є
	І
	А
	Б
	З
	Ґ
i've found this https://vyspiansky.github.io/2017/03/10 ... -in-mysql/
it's mysql not sqlite, but just to show that this problem is quite common
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.4. Please check and confirm the bug fix here.
Pierre.
vovka
Posts: 10
Joined: Fri Nov 30, 2007 10:32 pm

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by vovka »

xnview wrote: Tue Feb 04, 2025 8:15 am This problem is supposed to be fixed in XnView MP 1.8.4. Please check and confirm the bug fix here.
Bug is partially fixed
right after the creation the order is wrong
after create.png
after create.png (8.79 KiB) Viewed 2163 times
but after the program restart the order is correct
after restart.png
after restart.png (7.18 KiB) Viewed 2163 times
Ukrainian alphabet for reference
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by user0 »

try to add this key to xnview.ini:

Code: Select all

[%General]
localizedSortCategory=true
vovka
Posts: 10
Joined: Fri Nov 30, 2007 10:32 pm

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by vovka »

user0 wrote: Wed Feb 05, 2025 3:11 pm try to add this key to xnview.ini:

Code: Select all

[%General]
localizedSortCategory=true
has no influence :(
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by xnview »

reopened
Pierre.
User avatar
user0
XnThusiast
Posts: 2411
Joined: Sat May 09, 2015 9:37 am

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by user0 »

related
The order of categories in Catalog Filter is not correct in 1.8.5
user0 wrote: Sun Feb 09, 2025 6:56 am +1
there should not be pre/post restart difference in sort order (collation) and the correct one must be applied right after creating a new object

However, both orders you posted are wrong, it should be like in windows (- + 1 a).
Clean install of the app may help, as in my 1.8.5 the sort order is correct after app restart.

ref
reddit
unicode collation
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.6. Please check and confirm the bug fix here.
Pierre.
vovka
Posts: 10
Joined: Fri Nov 30, 2007 10:32 pm

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Post by vovka »

xnview wrote: Fri Feb 14, 2025 10:07 am This problem is supposed to be fixed in XnView MP 1.8.6. Please check and confirm the bug fix here.
bug is fixed
thank you
Post Reply