8000 Multi user and channel selection and moving by jvbsl · Pull Request #6842 · mumble-voip/mumble · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Multi user and channel selection and moving #6842

8000
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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jvbsl
Copy link
Contributor
@jvbsl jvbsl commented Jun 1, 2025

Previous PR with different implementaiton: https://github.com/mumble-voip/mumble/pull/1871/files?diff=split&w=1
Issue: #1829

output.mp4

0:00 Select and move multiple channels
0:24 Select channels with sub channels, causing the hierarchy to flatten
0:42 Select and move multiple users
1:00 Ctrl click channel with a selected user(causes the selection inside the channel to toggle)
1:10 Using shift to select a range
1:21 Using Ctrl+A to select users
1.39 Using Ctrl+A to select users(except users in collapsed nodes)
1:50 while users selected try to also select channels while having Ctrl pressed(channels are not selected)
2:17 same thing but having channels selected and trying to select users while Ctrl pressed(users are not selected)

Moving multiple channels and users example. User move can also be configured to ask whether to move the users or not.

I did it in a way which made the most sense to me. Opinions on that are welcome

Checks

@jvbsl jvbsl force-pushed the feature/multi-move branch from 062cc4c to a4fb2a5 Compare June 1, 2025 19:07
@Hartmnt
Copy link
Member
Hartmnt commented Jun 1, 2025

Regarding your "ugly workaround", take a look at https://doc.qt.io/qt-6/qsignalblocker.html#details
This might be what you are looking for

@jvbsl
Copy link
Contributor Author
jvbsl commented Jun 1, 2025

yes I tried that first, it did not block anything it seems that does not work also tried it by using it when I call selectionModel->select, but these calls seem to not be really nested but be pushed to the event queue, therefore this does not work. I'm not sure why it also does not work for the mouse event, because this call was actually nested, but I guess it is not a "event" because we do not subscribe to it, but override the base method instead.

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.

2 participants
0