Summary: | Add Xwayland grab keyboard support | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Ta-Lun Yen <es> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | aleixpol, bugseforuns, dwt, kde, nate, ogamal523, uhhadd, uwu, valdikss |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/16a5831fee0ea837e7839d308db256b9f18f3344 | Version Fixed In: | 5.27 |
Sentry Crash Report: | |||
Attachments: | video |
Description
Ta-Lun Yen
2022-06-11 14:15:51 UTC
A reference to wayland protocol: https://wayland.app/protocols/xwayland-keyboard-grab-unstable-v1 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2770 Git commit 16a5831fee0ea837e7839d308db256b9f18f3344 by David Redondo. Committed on 23/09/2022 at 13:49. Pushed by davidre into branch 'master'. Implement xwayland-keyboard-grab protocol Only XWayland can see and bind to this global. When a XWayland surface is focused that has a grab, shortcuts are inhibited. FIXED-IN:5.26 M +6 -0 src/wayland/CMakeLists.txt A +111 -0 src/wayland/xwaylandkeyboardgrab_v1_interface.cpp [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)] A +51 -0 src/wayland/xwaylandkeyboardgrab_v1_interface.h [License: LGPL(3+eV) LGPL(v3.0) LGPL(v2.1)] M +12 -1 src/wayland_server.cpp M +2 -0 src/wayland_server.h https://invent.kde.org/plasma/kwin/commit/16a5831fee0ea837e7839d308db256b9f18f3344 *** Bug 450818 has been marked as a duplicate of this bug. *** Created attachment 178994 [details]
video
Sorry for reviving an old bug report, but this hasn't been fixed still happens on vmware and presumably other applications as well unless there is a way to enable it in the Windows Rules kcm which I haven't been able to find only the general shortcut inhibit not the grabbed input one.
I have attached a video demonstrating what I am talking about VMware grabbed the input yet when I hit the meta key it gets passed to the virtual machine.
Operating System: Arch Linux
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.4-zen1-1-zen (64-bit)
> I have attached a video demonstrating what I am talking about VMware grabbed
> the input yet when I hit the meta key it gets passed to the virtual machine.
Correction: The input gets passed to the host not the vm
Support was implemented; bugs in the support need to be reported separately, e.g. with Bug 502364. |