Opened 5 years ago
Last modified 5 years ago
#19105 new defect
Keyboard capture does not work properly under Wayland
Reported by: | WillW | Owned by: | |
---|---|---|---|
Component: | host support | Version: | VirtualBox 6.0.14 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | Linux |
Description
I am using Virtualbox on Fedora under Wayland (Gnome/Mutter). It generally works correctly apart from being able to capture all keyboard presses.
Key combinations that have meaning to the OS (Alt+Tab, Cmd key, Alt+F4 etc.) are handled by the OS and don't make it to the VM. That was previously a known issue with Wayland, but has since been fixed by providing the appropriate extension. This has been implemented by Gnome and is in use by the Gnome Boxes app to provide correct keyboard behaviour.
See these two issues for some history and context: https://bugzilla.redhat.com/show_bug.cgi?id=1285770 https://bugs.freedesktop.org/show_bug.cgi?id=97333
Implementing the same functionality for VirtualBox would greatly improve the usability on Wayland.
Related discussion in the forums: https://forums.virtualbox.org/viewtopic.php?f=7&t=95494