Page 1 of 1
The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sun Feb 09, 2025 5:29 am
by hjaki
The order of categories in Catalog Filter is not correct in 1.8.5
After upgrading from 1.8.2 to 1.8.5, the order of “-” in Catalog Filter categories has changed.
Order in 1.8.2
+
-
1
a
Order of 1.8.5
+
1
a
-
If I rename any of the categories in 1.8.5, they are in the same order as in 1.8.2.
However, when I quit XnView and start it again, it reverts back to the original.
The order seems to change depending on the next letter of “+” or “-”, but only the position of “-” is wrong.
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sun Feb 09, 2025 6:56 am
by user0
+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: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Wed Feb 12, 2025 8:37 am
by xnview
i can't reproduce, the order is "+ - 1 a"
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sat Feb 15, 2025 5:59 am
by hjaki
Does it work differently in different languages?
I am using Japanese.
Here is a screenshot.
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sat Feb 15, 2025 7:26 am
by xnview
the sort order is localized
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sat Feb 15, 2025 8:03 am
by hjaki
The problem also occurs with clean installations.
Please try to reproduce it with the Japanese version 1.8.5
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sat Feb 15, 2025 8:13 am
by xnview
with japanese windows explorer, which order do you have for '+ - 1 a'?
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sat Feb 15, 2025 10:53 am
by hjaki
The problem this time is that 1.8.5 has changed the order of the files at startup from the previous version.
When renamed, the order is the same as in 1.8.2.
I would like the order to be the same as when it was renamed when it was launched.
Because the Japanese sort order in Windows is very complicated.
I don't know the correct answer because I can't find any official documentation.
There are more than 10,000 characters and the order changes depending on whether the second character is alphanumeric, hiragana, katakana, or kanji.
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sat Feb 15, 2025 3:05 pm
by xnview
you can add in xnview.ini [%General] localizedSortCategory=false
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sat Feb 15, 2025 3:29 pm
by hjaki
What do you mean?
Does that mean this is not a bug?
Re: The order of categories in Catalog Filter is not correct in 1.8.5
Posted: Sat Feb 15, 2025 4:08 pm
by xnview
There is a change in 1.8.5 with sorting on some languages.
If you want same behavior, you can edit your xnview.ini and add localizedSortCategory=false