Page 1 of 1

Color filters don't work anymore for FOLDER name extensions...

Posted: 28 Oct 2020 09:24
by ghost zero
Image

I recently noticed a new bug in which the color filters don't work anymore for folder name extensions, although file name extensions still work fine. Example, I have been using a custom color filter to highlight items that end with .m but now it doesn't work anymore for folders. Please fix.

XYplorer 21.20.0100

Re: Color filters don't work anymore for FOLDER name extensions...

Posted: 30 Oct 2020 09:09
by admin
Where did you get the idea to prefix >[HIGHLIGHT FILES / FOLDERS] ; to the filter?

Re: Color filters don't work anymore for FOLDER name extensions...

Posted: 30 Oct 2020 09:33
by ghost zero
it is my own idea. i use it as a descriptive label in front of the color filter. the idea behind its text formatting is to make it easy to visually distinguish as a label, and to not conflict with anything.

Re: Color filters don't work anymore for FOLDER name extensions...

Posted: 30 Oct 2020 09:40
by admin
If you remove it the filter works. So it wasn't a good idea. :)

Re: Color filters don't work anymore for FOLDER name extensions...

Posted: 30 Oct 2020 09:52
by ghost zero
it used to work fine for many years until one of the recent versions. what did you change to break it? can you fix it so we can continue to use such custom labeling schemes?

Re: Color filters don't work anymore for FOLDER name extensions...

Posted: 30 Oct 2020 09:54
by admin
No, the change was necessary.

Color Filters support comments at the right end, after //. Why don't you simply follow the rules? :mrgreen:

Re: Color filters don't work anymore for FOLDER name extensions...

Posted: 30 Oct 2020 10:13
by ghost zero
but we need the labels to be in front of the extensions, so they are seen first, in a straight line along the left, and so they don't get cropped off from view.

Re: Color filters don't work anymore for FOLDER name extensions...

Posted: 30 Oct 2020 11:10
by admin
It's your lucky day, you can prefix a caption in quotes:
"HIGHLIGHT FILES / FOLDERS" name:*.txt

And yes, it's also in the Help file:
Captions
Color Filters support captions prefixed in quotes to the filter definition.

Re: Color filters don't work anymore for FOLDER name extensions...

Posted: 30 Oct 2020 13:14
by ghost zero
thanks for the workaround. but it seems illogical that my original formatting works for files but not folders.