Skip to content

Add disconnect-all-of-group menu item to patchbay#1483

Open
sebageek wants to merge 1 commit intofalkTX:mainfrom
sebageek:disconnect-whole-group-menu-item-but-without-lambdas
Open

Add disconnect-all-of-group menu item to patchbay#1483
sebageek wants to merge 1 commit intofalkTX:mainfrom
sebageek:disconnect-whole-group-menu-item-but-without-lambdas

Conversation

@sebageek
Copy link
Contributor

@sebageek sebageek commented Oct 6, 2021

If one group has multiple connections to another group an extra menu
item is added to its disconnect context menu, which allows the user to
disconnect it all at once. The entry is added at the bottom of the
disconnect menu in the form of "Groupname (all x ports)". This comes in
very handy when the user wants to disconnect a soundcard from their
current application.

PortContextMenuDisconnect() now also accepts a list via
setData()/data(), so we can disconnect multiple ports at once.


Heyhey, first PR on this project, hope this feature is interesting to you!
I'm a bit unsure about how the patchcanvas module is maintained. I know it is at least used in Catia. Would we need to port this change over? Especially as I augment the functionality of PortContextMenuDisconnect().

@sebageek sebageek force-pushed the disconnect-whole-group-menu-item-but-without-lambdas branch from 6e4e121 to 9919cc2 Compare November 6, 2021 21:25
@sebageek
Copy link
Contributor Author

sebageek commented Nov 6, 2021

Rebase to current main + added a separator between the normal entries and the "cut a complete group" entries.

If one group has multiple connections to another group an extra menu
item is added to its disconnect context menu, which allows the user to
disconnect it all at once. The entry is added at the bottom of the
disconnect menu in the form of "Groupname (all x ports)". This comes in
very handy when the user wants to disconnect a soundcard from their
current application.

PortContextMenuDisconnect() now also accepts a list via
setData()/data(), so we can disconnect multiple ports at once.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant