Page 1 of 1

howto deactivate popup-menu?

Posted: 3. Jan 2017, 10:42
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

Re: howto deactivate popup-menu?

Posted: 4. Jan 2017, 23:11
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

Re: howto deactivate popup-menu?

Posted: 4. Jan 2017, 23:49
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.