Filters - Back and Front color from different filter?

Features wanted...
Post Reply
chavlji
Posts: 29
Joined: 12 Feb 2012 10:18

Filters - Back and Front color from different filter?

Post by chavlji »

Hi,
I use color filters very much. I was especially glad when I've discovered the filter:

AgeC:<7d

I've set it to color the background into slight blue.

Then I have a bunch of extension-based filters. Like *.jpg;*.png files has purple font.

What bothers me is that even though I've set "Clear" color for fonts in filter "AgeC:<7d" the text color for *.jpg;*.png is set to default black. For files younger than 7 days... Why is that so?

Shouldn't it leave it purple if I've set it to "Clear" in the first filter?

eil
Posts: 1825
Joined: 13 Jan 2011 19:44

Re: Filters - Back and Front color from different filter?

Post by eil »

i'm not sure 2 filters can work together/cross-over. the one that is higher in list of filters will prevail.
Win 7 SP1 x64 100% 1366x768|1900x1080

chavlji
Posts: 29
Joined: 12 Feb 2012 10:18

Re: Filters - Back and Front color from different filter?

Post by chavlji »

Yes, but if you set "Clear color" to the first filter it should seek forward and find the first matching filter that has this color defined...

eil
Posts: 1825
Joined: 13 Jan 2011 19:44

Re: Filters - Back and Front color from different filter?

Post by eil »

"Clear Colour" only means that whatever changes(setting) to corresponding colour were made, those will be discarded. filters can't "modify" each other, as i see it.
Last edited by eil on 18 Feb 2012 00:20, edited 3 times in total.
Win 7 SP1 x64 100% 1366x768|1900x1080

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Filters - Back and Front color from different filter?

Post by serendipity »

@chavlji: it should work if you have it like you described. Because I use this exact same type of filters and i see correct background and text color from the assigned filters.
Check this:
Go to Tools>List management>Color filters and make sure your Age filter has no text color and .jpg filter has no background color.
In my case this works:
ageM:<12 h|>,9EE15B
Note how after > text color is empty followed by comma and then back color 9EE15B. If you have two colors after > in remove the first one.

And the opposite for *.jpg:
*.jpg;*.png>D26900,

Make sure after > there is only color for text and background is empty.

chavlji
Posts: 29
Joined: 12 Feb 2012 10:18

Re: Filters - Back and Front color from different filter?

Post by chavlji »

Here are the exact filters from my list. For test I've left only those two:

+AgeM:<7d >,E9F5FC
+*.png;*.jpg;*.gif;*.jpeg;*.tif;*.psd;*.tiff;*.bmp>970081,

And it still doesn't work. If jpg file is younger than 7 days it's text is black. Otherwise it is purple.

I use version 10.80.0300

eil
Posts: 1825
Joined: 13 Jan 2011 19:44

Re: Filters - Back and Front color from different filter?

Post by eil »

@serendipity, i tried your settings and those don't work for me.. yet, i confirm chavlji's settings don't work either(just as he described). :|
Win 7 SP1 x64 100% 1366x768|1900x1080

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Filters - Back and Front color from different filter?

Post by serendipity »

chavlji wrote:Here are the exact filters from my list. For test I've left only those two:

+AgeM:<7d >,E9F5FC
+*.png;*.jpg;*.gif;*.jpeg;*.tif;*.psd;*.tiff;*.bmp>970081,

And it still doesn't work. If jpg file is younger than 7 days it's text is black. Otherwise it is purple.

I use version 10.80.0300
You have those values showing in editor mode right?
I mean when you go to Tools>List management>Color filters... and there is a little pencil icon on your bottom left. If you click it you'll see editor mode. So i guess you pasted this in editor mode:

Code: Select all

+ageM:<7d //m|>,9EE15B
+*.jpg;*.png;*.bmp;*.gif;*.wmf;*.tga;*.jpeg;*.ico;*.tiff;*.tif;*.emf>D26900,
And still you dont get colored background plus colored text for <7 day old .jpg?
I tried this on a fresh install and it works fine.

chavlji
Posts: 29
Joined: 12 Feb 2012 10:18

Re: Filters - Back and Front color from different filter?

Post by chavlji »

Thank you man!
It works now.

The comment string seems to do the magic?!

+ageM:<7d //m|>,9EE15B this one works.

+ageM:<7d >,9EE15B this one doesn't...

Where's the problem? I don't know. I've read all the help under "color filters" and it says nothing about it.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Filters - Back and Front color from different filter?

Post by serendipity »

chavlji wrote:Thank you man!
It works now.

The comment string seems to do the magic?!

+ageM:<7d //m|>,9EE15B this one works.

+ageM:<7d >,9EE15B this one doesn't...

Where's the problem? I don't know. I've read all the help under "color filters" and it says nothing about it.
Yes the merge feature is not in the documentation, it was added on trial basis and I guess Don just left it as it is. Here's the relevant post:
http://www.xyplorer.com/xyfc/viewtopic. ... 974#p54974

chavlji
Posts: 29
Joined: 12 Feb 2012 10:18

Re: Filters - Back and Front color from different filter?

Post by chavlji »

That's a pity... it's a very cool and useful option.
In fact this is the behavior one would expect as default.

eil
Posts: 1825
Joined: 13 Jan 2011 19:44

Re: Filters - Back and Front color from different filter?

Post by eil »

serendipity wrote:Yes the merge feature is not in the documentation, it was added on trial basis and I guess Don just left it as it is.
damn, one more undocumented ghost feature. :evil: i wonder how many more are there i'm not aware of..
Win 7 SP1 x64 100% 1366x768|1900x1080

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Filters - Back and Front color from different filter?

Post by serendipity »

eil wrote:
serendipity wrote:Yes the merge feature is not in the documentation, it was added on trial basis and I guess Don just left it as it is.
damn, one more undocumented ghost feature. :evil: i wonder how many more are there i'm not aware of..
but you knew about this i thought:
http://www.xyplorer.com/xyfc/viewtopic. ... 887#p66887

eil
Posts: 1825
Joined: 13 Jan 2011 19:44

Re: Filters - Back and Front color from different filter?

Post by eil »

serendipity wrote:but you knew about this i thought
sadly i didn't. :cry: of course it's utterly my fault =i was too concentrated on just making my colour filters change by hours, that "didn't bother" to read all the discussion and info about m-switch(shame on me- i saw it numerous times, but took it as some must-be-syntax :oops: ).
Win 7 SP1 x64 100% 1366x768|1900x1080

Post Reply