howto deactivate popup-menu?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
omf
Posts: 4
Joined: 3. Jan 2017, 10:27

howto deactivate popup-menu?

Post by omf »

host is linux with actual virtualbox-version (5.1.12), but also tried it with 5.0

all menus and most shortkeys are deactivated (via GUI), Host-Key is set to CTRL-ALT (for certain reasons).

the VM-xml-config contain following deactivated entries for the Menus:

Code: Select all

      <ExtraDataItem name="GUI/MenuBar/Enabled" value="false"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeApplicationMenuActions" value="Preferences,NetworkAccessManager,ResetWarnings"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeDebuggerMenuActions" value="Statistics,CommandLine,Logging,LogDialog"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeDevicesMenuActions" value="HardDrives,OpticalDevices,FloppyDevices,Network,USBDevices,WebCams,SharedClipboard,DragAndDrop,SharedFolders,InstallGuestTools"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeHelpMenuActions" value="Contents,WebSite,BugTracker,Forums,Oracle,About"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeInputMenuActions" value="Keyboard,MouseIntegration"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeMachineMenuActions" value="SettingsDialog,TakeSnapshot,InformationDialog,Pause,Reset,Detach,SaveState,Shutdown,PowerOff"/>
      <ExtraDataItem name="GUI/RestrictedRuntimeViewMenuActions" value="Fullscreen,Seamless,Scale,AdjustWindow,GuestAutoresize,TakeScreenshot,StartVideoCapture,VRDEServer,MenuBar,StatusBar,ScaleFactor,Resize,Multiscreen"/>
pressing Host-key+Fx (F1...F12) shows an nearly empty PopupMenu (only top-item will show "Shutdown", any other items are cleaned), but I don't want to show a menu at all, because this irritates the users, this system is created for.

is there any possibility to do so, or it's a feature or simply a bug?

(deactivating the Host-Key at all do so, but we need one shortkey)


regards

ofm
omf
Posts: 4
Joined: 3. Jan 2017, 10:27

Re: howto deactivate popup-menu?

Post by omf »

mmmh, well, I don't know, if there'll be someday someone, who has an idea to solve it, but unfortunately I need a solution now.

currently I think, that this is a bug of VirtualBox in connection with X11-Key-Handling, because it seems to be no problem with other host-keys (which I can't use here), but I've not the time to view or even fix the code.

for those, who'll run into the same situation: workaround is, to deactivate the Host-Key completely and run xbindkeys within the session.

xbindkeys allows to call scripts for certain combinations and vboxmanage allows to control the vm, even send certain keys to it.
note: at startup it may take some seconds before it'll accept any configured key-combination, so be a bit patient.

regards

ofm
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: howto deactivate popup-menu?

Post by socratis »

omf wrote:if there'll be someday someone, who has an idea to solve it, but unfortunately I need a solution now.
There may not be enough users with a similar setup that have seen the issue and/or can replicate it. And since you have some ideas/workarounds, maybe you should head to the bugtracker and either search for an appropriate bug, or open a new bug report where you'll attach your logs and other vital information.
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.
Post Reply