VirtualBox

Opened 9 years ago

Last modified 9 years ago

#15058 new enhancement

Host+<key> doesn't work if host layout not US

Reported by: Socratis Owned by:
Component: other Version: VirtualBox 5.0.14
Keywords: Cc:
Guest type: other Host type: other

Description

On my host (OSX 10.9.5) I have a dual keyboard layout; US and Greek. If the host keyboard is set to Greek, Host+<key> combinations do not work, i.e. Host+"F" (which is seen as Host+"Φ") does not toggle fullscreen mode. Is there a way to have the keyboard recognized regardless of the layout? Keyboard shortcuts on the host (like Cmd+H for hide) work that way, i.e. they don't care for the current layout, it's the underlying key that's important. It would be really convenient.

NB. I tried the same operation on a Windows host and it works independently of the host keyboard layout.

Change History (2)

comment:1 by Michael Thayer, 9 years ago

I can confirm by looking at the code that this is implemented for X11 and Windows but not for OS X. Unfortunately, none of our developers who would be qualified to fix this looks likely to be able to fit it in in the foreseeable future.

In case any external developers wish to fix this, it is handled in UIKeyboardHandler::processHotKey() in src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp (all references against version 5.0, though a fix would need to be against trunk). I found a Stack Overflow question<1> which provides a lot of the information which would be needed to implement it on OS X.

<1> http://stackoverflow.com/questions/8263618/convert-virtual-key-code-to-unicode-string

comment:2 by Socratis, 9 years ago

Michael, thanks a) for confirming it and b) for providing the "culprit" and the Stack Overflow reference. Not a C programmer, but I will definitely have a look at it.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette