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

CHANGE(client): Don't hard block shortcuts on Wayland #5688

Merged

Conversation

Krzmbrzl
Copy link
Member

In #5307 we disabled global shortcuts on Wayland, but we did it in a way
that would prevent anyone from re-enabling the support.

Since we have received reports of some users actually making use of the
shortcut system on Wayland, even without proper Wayland support, we
decided to remove the hard-lock and allow these users to re-enable the
shortcuts, if they so want.

Fixes #5454

Checks

@Krzmbrzl
Copy link
Member Author

@davidebeatrici could you please have a look at the latest commit and tell me what you think?

@Krzmbrzl Krzmbrzl force-pushed the feat-disable-shortcuts-on-wayland branch from 8f27798 to bbcc175 Compare July 29, 2022 17:55
Krzmbrzl added 3 commits July 31, 2022 17:31
In mumble-voip#5307 we disabled global shortcuts on Wayland, but we did it in a way
that would prevent anyone from re-enabling the support.

Since we have received reports of some users actually making use of the
shortcut system on Wayland, even without proper Wayland support, we
decided to remove the hard-lock and allow these users to re-enable the
shortcuts, if they so want.

Fixes mumble-voip#5454
Previously the shortcut engine on Unix could not be disabled. Therefore,
the bEnableShortcut setting effectively had no effect on these systems,
making the change of its default value on Wayland (in order to prevent
CPU intensive polling) as done in 13c7ff5
pointless.

This commit extends the engine's implementation such that it is now able
to disable shortcuts. This will automatically expose the enable shortcut
setting in the settings page. Thus, users can now explicitly re-enabled
the shortcut engine on Wayland systems.
@Krzmbrzl
Copy link
Member Author

💚 All backports created successfully

Status Branch Result
1.4.x

Questions ?

Please refer to the Backport tool documentation

@Krzmbrzl Krzmbrzl deleted the feat-disable-shortcuts-on-wayland branch November 9, 2022 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revert Global Shortcut blocking on Wayland
2 participants