Ticket #3418 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Addition of GUI/ForceCloseAction extradata item

Reported by: TerryE Owned by:
Priority: minor Component: GUI
Version: VirtualBox 2.1.4 Keywords:
Cc: Guest type: other
Host type: other


See Forum topic  graceful shutdown from linux host for the background to this one. The user like a few others in the past have felt that a nice feature to add to the GUI interface would be the ability to force a response avoiding the "Close Virtual Machine" dialogue (typically in the case to savestate). This would simplify logoff and shutdown integration of GUI based VMs running on the desktop. Looking at src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp, this would be a fairly simple change to the logic of VBoxConsoleWnd::closeEvent to add a call to cmachine.GetExtraData for the new parameter and short-circuit logic to bypass display of VBoxCloseVMDlg and process the action immediately.

Change History

comment:1 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

That's now possible as of VBox 3.2.x. See the 3.2.8 manual, section 9.14 (Locking down the GUI).

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use