Capture Host HotKey as a Guest HotKey under Wayland (#19105)

Discussions related to using VirtualBox on Linux hosts.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Capture Host HotKey as a Guest HotKey under Wayland (#19105)

Post by socratis »

I noticed, thanks for posting the ticket info, I linked forum thread and ticket...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
JoergK
Posts: 30
Joined: 25. Aug 2017, 09:37

Alt+Tab is not working in RHEL 7 guest

Post by JoergK »

Merry Christmas everybody!

Although keyboard and mouse are captured by the guest OS the hot key Alt+Tab is not executed in the guest window but on the host machine.

Host: Debian 10
Host kernel: 4.19.0-6-amd64
VirtualBox Version 6.1.0 r135406 (Qt5.11.3)

Guest: RHEL 7.7
Guest kernel: 3.10.0-1062.9.1.el7.x86_64
GA: 6.1.0

I've attached the VBox.log to this post. Does somebody have an idea what I'm missing or what's going wrong here?
Attachments
vbox.zip
(33.65 KiB) Downloaded 11 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Alt+Tab is not working in RHEL 7 guest

Post by socratis »

See Capture Host HotKey as a Guest HotKey under Wayland (#19105), and Alt-Tab and other special keys going to host (Linux).

I would merge your thread with the last one, and that one with the ticket one, prevent duplicates. But the original is from 2017, it's going to throw things off. Searching helps too...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
JoergK
Posts: 30
Joined: 25. Aug 2017, 09:37

Re: Capture Host HotKey as a Guest HotKey under Wayland (#19105)

Post by JoergK »

Hi,

Thanks for merging my post in here.

From what I understand wayland was facing an issue so VBox and any other application were not able to catch certain hot keys. This issue was fixed with an extension to wayland that applications like GNOME Boxes could use to catch hot keys. If I got that right, it means for my situation that first my distribution has to use a wayland version that ships with the extension needed and have to wait for VBox to use this extension, right?

As a workaround I could try to switch back to X window system, though. :|

I don't know if there is anything I could to help resolving this. So I guess I just have to wait for it.

Merry Christmas!
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Capture Host HotKey as a Guest HotKey under Wayland (#19105)

Post by socratis »

JoergK wrote:my distribution has to use a wayland version that ships with the extension needed and have to wait for VBox to use this extension, right?
The extension part, right. Waiting for VirtualBox? I wouldn't hold my breath... ;)
JoergK wrote:As a workaround I could try to switch back to X window system, though.
Do that if you can, don't wait for Wayland to be supported. They've even dropped the 3D acceleration on Wayland, on purpose. If a Guest is using Wayland, no 3D.
JoergK wrote:I don't know if there is anything I could to help resolving this.
Unless you, or someone else, provides the source code changes, IMHO I don't think it's going to happen any time soon. If you mean logs and debug info, I think they're full of info regarding that part. ;)
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
JoergK
Posts: 30
Joined: 25. Aug 2017, 09:37

Re: Capture Host HotKey as a Guest HotKey under Wayland (#19105)

Post by JoergK »

socratis wrote:
JoergK wrote:As a workaround I could try to switch back to X window system, though.
Do that if you can, don't wait for Wayland to be supported. They've even dropped the 3D acceleration on Wayland, on purpose. If a Guest is using Wayland, no 3D.
On my host I switched back to using X.org session. So hot keys get caught by VBox and at least my user experience increases. For the guests I try to choose X.org if available when I need the 3D acceleration. So I guess I would be fine for the time and did not have to hold my breath. :)
Post Reply