Lame sorting in the INI…

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Lame sorting in the INI…

Post by Clo »

:arrow: Pierre

:) Hello !

• I noticed that entries in the INI (ß-5) are not sorted naturally 1, 2, 3,…9, 10, 11,… 19, 20, etc.
especially those for the Colours filters :


ColorFilter1=jpeg, 237 237 202
ColorFilter10=psd, 255 255 227
ColorFilter11=pcd, 235 215 235
ColorFilter12=psp, 237 208 163
ColorFilter13=pict, 202 202 255
ColorFilter14=xpm, 242 227 21
ColorFilter15=xbm, 216 216 216
ColorFilter16=pbm, 191 191 182
ColorFilter17=pgm, 207 207 197
ColorFilter18=ppm, 235 225 159
ColorFilter19=ras, 255 255 227
ColorFilter2=gif, 220 235 220
ColorFilter20=wmf, 187 187 187

- This is a pain in the neck, while you could use the right function when IE6 at least is installed,
like I reported ages ago IN THIS MESSAGE.

• Please, try to use the StrCmpLogicalW function in the INI too…
- As long as we have not any GUI options for that feature, we need to find these entries easily to change the colours or maybe to add new entries ( Is it possible ? :? ).

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

Just change it to 01,02,03,04,05, etc.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

No---

Post by Clo »

—> ckit

:) Hi !

• The entries are not hard-coded and stated in the programme like you say,
hence if you change the numbering-strings, then they will not work anymore…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Natural in ß-6

Post by Clo »

:) Hello !

• Seems fixed in ß-6, I get the natural sorting, TX !

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Post Reply