Opened 9 years ago

Closed 7 years ago

#35 closed enhancement (worksforme)

Add filter operators

Reported by: ggamba Owned by: Gregg Young
Priority: major Milestone: 2.9.0
Component: widget Version:
Keywords: Cc: ggamba

Description

In ePager - Sticky windows, filter operator has the following options: "equals, begins with, ends with, contains, matches", while in lswitcher it seems to me that we just have "equals".

This is a problem here, as lot of programs change their title, so if for example I add "OS/2 - Home - Thunderbird" to "Taskbak - Icons only", at next reboot, when Thunderbird starts as "Inbox - Home - Thunderbird", the existing filter will not work.
The same problem happens with PSI, or jEdit.

Change History (10)

comment:1 by ggamba, 9 years ago

(component should be "widget", not "documentation", of course!)

comment:2 by aschn, 9 years ago

Gabriel, you can modify it yourself: There's a "Modify" link above the light yellow box and on the right of your bug entry.

Andreas

comment:3 by ggamba, 9 years ago

Cc: ggamba added
Component: documentationwidget

comment:4 by ggamba, 9 years ago

Andreas, thank you, got it!

comment:5 by Gregg Young, 7 years ago

Owner: set to Gregg Young
Status: newaccepted

comment:6 by Lewis Rosenthal, 7 years ago

Milestone: 2.822.9.0

Milestone renamed

comment:7 by Lewis Rosenthal, 7 years ago

we do have rudimentary wildcards:

? and * work for single character and string, Gabriele. Were you asking for something more like regex matching?

You should be able to add something for "OS/2 - Home - Thunderbird" as:

* - Thunderbird

or simply:

*Thunderbird

I've made all sorts of great discoveries as I've been revamping the help guide for 2.9.0. Please test and let us know if this addresses your needs without full regex matching.

comment:8 by Gregg Young, 7 years ago

Unless someone objects I am going to close this as worksforme on the basis of the wildcard matching. I didn't know about that either.

comment:9 by Gregg Young, 7 years ago

I sent an email to Gabriele since the TRAC's notification system isn't very user friendly. I will give him a couple of days to respond before closing this.

comment:10 by Gregg Young, 7 years ago

Resolution: worksforme
Status: acceptedclosed

I received this via email. Closing worksforme

I just tried and "*" did the trick (that was, create a "Icon only" filter for Thunderbird), thanks a lot!!

Best
gabriele

Note: See TracTickets for help on using tickets.