Page 1 of 1

Error in configuration file for Instant Color Filters?

Posted: 25 Nov 2016 01:13
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?

Re: Error in configuration file for Instant Color Filters?

Posted: 25 Nov 2016 01:31
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

Re: Error in configuration file for Instant Color Filters?

Posted: 25 Nov 2016 14:06
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.

Re: Error in configuration file for Instant Color Filters?

Posted: 25 Nov 2016 14:53
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=

Re: Error in configuration file for Instant Color Filters?

Posted: 25 Nov 2016 14:59
by admin
Yes, but this is totally unimportant.

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