Page 1 of 1

1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Wed Nov 13, 2024 12:08 pm
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

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Thu Nov 21, 2024 8:48 am
by xnview
could you send me as text, the category's name in ukrainian?

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Thu Nov 21, 2024 11:56 am
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

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Thu Nov 21, 2024 1:39 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Tue Feb 04, 2025 8:15 am
by xnview
This problem is supposed to be fixed in XnView MP 1.8.4. Please check and confirm the bug fix here.

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Wed Feb 05, 2025 2:25 pm
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 2168 times
but after the program restart the order is correct
after restart.png
after restart.png (7.18 KiB) Viewed 2168 times
Ukrainian alphabet for reference

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

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

Code: Select all

[%General]
localizedSortCategory=true

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Wed Feb 05, 2025 3:21 pm
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 :(

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Fri Feb 07, 2025 3:29 pm
by xnview
reopened

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Wed Feb 12, 2025 4:55 am
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

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

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

Re: 1.8.2 (Windows 10) Alphabetical sorting of categories

Posted: Fri Feb 14, 2025 1:09 pm
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