Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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