DebugViewPP icon indicating copy to clipboard operation
DebugViewPP copied to clipboard

Order filters changes coloring behaviour

Open janwilmans opened this issue 11 years ago • 1 comments

current rules: none, except:

  • highlight filters always take precedence

undefined:

  • include filter + color
  • stop / beep filter
  • clear filter has a color, either the clear message itself should be the first message in the view, so you know what triggered the clear, or the clear filter should not have a color.

so what happens if a line matches a include+stop filter? anything+highlight => highlight takes precedence. include + stop => ? include + beep => ?

maybe highlight should have the highest precedence and include the lowest?

what about stop+beep?

I don't like the idea of implicit precedence, maybe we should allow ordering the filters, that will also be the most efficient implementation, because no sorting is needed at filter time.

janwilmans avatar Jul 14 '14 07:07 janwilmans

as discussed: the order of filters should not effect behaviour, it purely for administrative purposes to save 'logically' grouped sets

janwilmans avatar Jul 24 '14 22:07 janwilmans