Houston4444 / RaySession

Session manager for linux musical programs
GNU General Public License v2.0
168 stars 20 forks source link

[Feature] Client-id or name-based filtering #136

Closed orlammd closed 2 years ago

orlammd commented 2 years ago

As well as it's possible to filter clients visibility in the patchbay by MIDI or Audio type, it would be nice to be able to filter by client-id or name, if possible with syntax allowing the use of "*".

Houston4444 commented 2 years ago

That is a complex thing. Not complex alone, but regarding other features. Audio or Midi filter gives another view, that means that if you show only Midi ports, you move boxes, you restore all ports view, positions will be restored as they were before filtering.

I also think to canvas zones, which does not exist yet, but are planned. I don't know exactly how I will do that, but I want zones to be wrapables. I think you understand the problem ;)

Something easier would be something as 'highlight boxes with pattern', just painting a red rectangle around boxes, for example.

orlammd commented 2 years ago

Yep, I do understand. Maybe one thing possible would something like "emballer" every client which doesn't match a filter, and expand the others? The aim would be to be able to have a quick look at a signal flow.

Houston4444 commented 2 years ago

idea: filter could be a lineEdit at top toolbar (at left of zoom slider). We could opacify groups not matching with the pattern (we also should opacify connections not related to any matching group).

for example, I just tested to make box opacity at 0.2, and this is how it looks:

screenshot_box_opacity

I don't know why titles aren't opaque, but I didn't search.

orlammd commented 2 years ago

Looks good to me!

Houston4444 commented 2 years ago

news of patchbay_filter branch. Now, with Ctrl+F, a filter bar appears at the bottom, you can type directly your string, and navigate through matching boxes with arrow keys.

I think it looks very nice, rest just to make a slider to adjust hidden opacity, and an action in patchbay menu.

orlammd commented 2 years ago

Works fine! Great!

Houston4444 commented 2 years ago

Merged to master some days ago.