Page 1 of 1
Color filter Blues
Posted: 01 Oct 2006 00:56
by surrender
I have my color filter for office documents like *.doc;*.xls;*.ppt;*.pps etc set to blue (R=0, G=0 and B=255). When i close and restart XY the color filter is reset to white (R=255, G=255 and B=255).
Interestingly, Blue (R=0, G=1 and B=255) has no problems.
Can somebody setup a dummy filter and test this??
This is happening since the 5.20 version
Posted: 01 Oct 2006 01:13
by j_c_hallgren
I've just tried this setup...and...yes! I have the same loss of color!
I suspect it may be related to improper testing for corrupt INI file...

Trying various blue colors, I find that when
Red=0,
Green=0,
And BLUE exceeds 127, then color gets reset to WHITE!
Seems that
ANY value for Red
or Green, even 1, keeps them
both from being set to 255
Posted: 01 Oct 2006 02:46
by jacky
Oh yes.. actually I had that too (couple of filters reset) when I started the new beta, but was busy so I just assume it was a one time thing and forgot about it
Just restarted XY, and yes, the 2 filters (0/0/255 & 0/0/160) were reset again

I've added 1 to "bypass" this for now
Just to be clear, filters are not really reset to white, as j_c_hallgren said red & green are set to 255, but blue isn't changed (ie you can get some kind of yellow, etc

).
Posted: 01 Oct 2006 06:05
by Gandolf
admin wrote:In case of INI file corruption at start up (e.g. because you
manually edited it and made a mistake), you'll now get a warning
message with a recommendation about how to proceed best to avoid any
loss of configuration settings.
But we don't get a message when the program corrupts the ini file!!
Posted: 02 Oct 2006 18:18
by admin
j_c_hallgren wrote:I've just tried this setup...and...yes! I have the same loss of color!
I suspect it may be related to improper testing for corrupt INI file...

Trying various blue colors, I find that when
Red=0,
Green=0,
And BLUE exceeds 127, then color gets reset to WHITE!
Seems that
ANY value for Red
or Green, even 1, keeps them
both from being set to 255
Wow, you really are into this Sherlock Holmes approach to bugs! Your results are correct.
And, BTW, the bug is fixed. It was not "improper testing for corrupt INI", but I rewrote the crashing part so that I would not crash, and, well, made a little mistake...
Posted: 02 Oct 2006 18:47
by Gandolf
admin wrote:... made a little mistake...
I'll let you off them since you do such an excellent job 99.9% of the time.