| Summary: | Window rule to block global shortcuts doesn't block meta | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | AiwendilH |
| Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | AiwendilH |
| Priority: | HI | Flags: | mgraesslin:
ReviewRequest+
|
| Version First Reported In: | 5.8.0 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| URL: | https://phabricator.kde.org/D2952 | ||
| Latest Commit: | http://commits.kde.org/kwin/db2ff13d4fa83307b85cbe8622a8e37cb309c4a2 | Version Fixed/Implemented In: | 5.8.1 |
| Sentry Crash Report: | |||
|
Description
AiwendilH
2016-10-05 18:27:48 UTC
The reason is that the modifier-only-shortcuts are not using kglobalaccel, so don't know anything about it being blocked. Should be easy to fix, though. Git commit 26ad65b1e9875c17e59e50cf4e2f0734caeeb20d by Martin Gräßlin. Committed on 06/10/2016 at 05:36. Pushed by graesslin into branch 'Plasma/5.8'. Test case for mod only shortcut with global shortcuts disabled KWin supports disabling global shortcuts while a specific window is active through window rules. This blocks global shortcuts but does not block the modifier-only-shortcuts as the new test case shows. M +72 -0 autotests/integration/modifier_only_shortcut_test.cpp http://commits.kde.org/kwin/26ad65b1e9875c17e59e50cf4e2f0734caeeb20d Addressed with https://phabricator.kde.org/D2952 Well...that was fast...thanks a lot. :-) Git commit db2ff13d4fa83307b85cbe8622a8e37cb309c4a2 by Martin Gräßlin. Committed on 06/10/2016 at 11:28. Pushed by graesslin into branch 'Plasma/5.8'. Only trigger mod-only-shortcuts if global shortcuts are enabled Summary: KWin supports blocking global shortcuts when a window is active through window specific rules. This change ensures that the modifier only shortcuts also honor the blocking of global shortcuts. If global shortcuts are disabled, they won't trigger any more. FIXED-IN: 5.8.1 Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D2952 M +0 -1 autotests/integration/modifier_only_shortcut_test.cpp M +2 -1 keyboard_input.cpp http://commits.kde.org/kwin/db2ff13d4fa83307b85cbe8622a8e37cb309c4a2 |