Page 1 of 1

Color filters, define hex color codes

Posted: 30 Apr 2016 09:32
by highend
v0308

Don't know if it's a bug or me doing something wrong...

I have this color filter:
"Created or modified today" L:ageC: <= 24 h;ageM: <= 24 h

It works fine (and it's only meant for list entries)

When I now want to define different colors right inside the definition by e.g.:
"Created or modified today" L:ageC: <= 24 h;ageM: <= 24 h>FFFFFF,74C622

1.) The colors don't change
2.) Now files are colored that don't match the time range (e.g. I have a file that got now colored which has a c + m timestamp from two weeks ago)

Re: Color filters, define hex color codes

Posted: 30 Apr 2016 15:21
by admin
"inside the definition"?

You mean normal (non-instant) color filters, and you edit them via List Management? Works here.

Re: Color filters, define hex color codes

Posted: 30 Apr 2016 15:27
by highend
Nope, I tried it directly in Configuration | Color Filters :)

Seems what I've tried should only be done via the list management...

Re: Color filters, define hex color codes

Posted: 30 Apr 2016 15:32
by admin
Yes. :)

Re: Color filters, define hex color codes

Posted: 30 Apr 2016 15:34
by highend
The L: and T: propagate through all following definitions (e.g. separated by OR (;)) automatically, right?

Re: Color filters, define hex color codes

Posted: 30 Apr 2016 15:37
by admin
That's the idea.

Re: Color filters, define hex color codes

Posted: 30 Apr 2016 15:43
by highend
Ok, thanks!

Re: Color filters, define hex color codes

Posted: 01 May 2016 14:12
by highend
v0309

Mh, still doing something wrong. This time by scripting...

Code: Select all

    colorfilter("");
    colorfilter("L:ageC: <= 60 n;ageM: <= 60 n>000000,FFAF4D");
This should remove any existing filters and then apply a light orange to all items in the list that have a created or modified timestamp with less or equal to 60 minutes.

My problem:
This filter is also applied to the tree^^ In this case it's a locked mini tree.

Re: Color filters, define hex color codes

Posted: 02 May 2016 08:57
by admin
I was wrong. :oops: The control selector is per definition, not per line. It does not propagate.

There was also a bug:
colorfilter("");
currently turns on the last filter if there isn't any current filter, so it's a toggle. However, acc. to Help it's supposed to turn off any filter unconditionally. Gonna fix...

Re: Color filters, define hex color codes

Posted: 02 May 2016 12:44
by highend
At least there is a mismatch.

If I use the same colorfilter in Menu - Tools - Customize Lists - Color Filters...

It's only coloring list items, not the tree.

Only the scripting command behaves differently :)

Re: Color filters, define hex color codes

Posted: 02 May 2016 13:05
by admin
Are you sure? Not here...

Re: Color filters, define hex color codes

Posted: 02 May 2016 13:11
by highend
*Hust* Only if you forgot to turn "Configuration | Color Filters | Apply color filters to the Tree" on :ninja:

I'll take it back and claim something completely different from now on^^