Error in configuration file for Instant Color Filters?

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
elqasar
Posts: 96
Joined: 01 Jun 2016 15:13

Error in configuration file for Instant Color Filters?

Post by elqasar »

A new install of XYplorer 17.30 writes the following line to the [ColorFilterInstant] section of XYplorer.ini file if you simply launch XYplorer for the first time and immediately save settings.

12="System Files" attr f:system>FF0080,FFFF000

Notice that there is an extra '0' at the end of that line which is not visible in the GUI when looking at the configuration of instant color filters. Is this a bug?

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Error in configuration file for Instant Color Filters?

Post by highend »

Looks like. Older versions do it, the latest (beta) does this as well. It's the only entry that shows this behavior and it's automatically corrected whenever you change / create a new instant color filter and save the config
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 67304
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error in configuration file for Instant Color Filters?

Post by admin »

Confirmed and fixed, thanks!

This is an initialization error. The fix will only be effective in fresh installations or whenever you change / create a new instant color filter and save the config.

elqasar
Posts: 96
Joined: 01 Jun 2016 15:13

Re: Error in configuration file for Instant Color Filters?

Post by elqasar »

Also, in the [ColorFilter] section the entries initially don't have commas at the end, but later on some of them get commas automatically added at the end of the line, and some of them don't.

[ColorFilter]
Count=16
1=+len:>=260 //overlong filenames>FFFFFF,FB4F04
2=+attr:junction>D500D5,
3=+attr:system>FF0000,FFFF80
4=+attr:encrypted>008000,
5=+attr:compressed>0000FF,
6=ageM: <= 30 n //modified in the last 30 mins>FFFF80,5C9E1B
7=ageM: d //modified today>FFFFFF,74C622
8=attr:d>5E738C,
9=+size:0>4199E0,E0E2ED
10=+*.exe;*.bat;*.msi;*.cmd;*.com>D24257,
11=*.htm;*.html;*.php>4287D2,
12=+*.txt;*.ini;*.inf;*.log>38A050,
13=*.png;*.jpg;*.gif;*.bmp>933968,
14=*.zip;*.rar>CC6600,
15=*.dll;*.ocx>7800F0,
16=*.mp3;*.wav>FF8000,

And I think it was these lines where they all start without a dot at the end and then later on some of them automatically get dots added to the end of the line.

TextPreviewCustomExtensions=.
TextUTF8CheckCustomExtensions=
FontPreviewCustomExtensions=.
ImagePreviewCustomExtensions=.
OfficePreviewCustomExtensions=.
WebPreviewCustomExtensions=.
AudioPreviewCustomExtensions=.
VideoPreviewCustomExtensions=.
VectorPreviewCustomExtensions=
ArchivePreviewCustomExtensions=
ZipFldrCustomExtensions=
ZipViewCustomExtensions=
ExePreviewCustomExtensions=

admin
Site Admin
Posts: 67304
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error in configuration file for Instant Color Filters?

Post by admin »

Yes, but this is totally unimportant.

(The FFFF000 case was harmless, too, but looked probably more confusing.)

Post Reply