VirtualBox

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1259 closed enhancement (fixed)

Window close yes/abort question for VBoxSDL

Reported by: Christopher Owned by:
Component: other Version: VirtualBox 1.5.6
Keywords: Cc:
Guest type: other Host type: other

Description

Dear VirtualBox team,

there are many users that accidentially closed the VBoxSDL window since many of the running applications have their close-button in the upper right corner near the close button of the surrounding VBoxSDL window (well not surprising). If one uses VirtualBox (and not VBoxSDL), it asks the well known "Do you really want ..." question, if one tries to close the entire window with the button in the upper right corner. It would be very nice, if you could add an option (e.g. "-askonclose") to VBoxSDL similar to the functionality of VirtualBox (at least the real "Do you really want ..." question).

It is very frustrating if there are many users, that have lost their current work by this accident. And we prefere to use VBoxSDL and not VirtualBox since we want to secure (if possible at all), that only our image is executed.

Many thanks for any help.

Best regards

Chris

Change History (3)

comment:1 by Michael Thayer, 16 years ago

Resolution: fixed
Status: newclosed

You were too slow I'm afraid :) The switch -termacpi was added in 1.5.6.

comment:2 by Frank Mehnert, 16 years ago

I'm not sure if this is what you want but I want to explain -termacpi a little bit more in detail:

If you specify this option then VBoxSDL will at first try to shut down the guest using ACPI. If the guest does not support ACPI then the VM will be powered off. Otherwise a shutdown signal is sent. If the guest hangs for some reason, double click (two clicks within a second) will power off the VM in any case.

Note that adding such a question to VBoxSDL is not the easy as there is currently no concept for user input nor for displaying error messages in a window (errors are displayed at the starting text console).

comment:3 by Christopher, 16 years ago

Well, a simple message box that warns the user about the shutdown would have been nice, but I see the point about the missing user input interface.

The -termacpi option might help indeed. After some time of searching I found some tools (e.g. shutdown managers for windows). Up to now only one of them catches the ACPI shutdown event and displays a warning message (nothing else is done). Unfortunately this manager is commercial and ignores all shutdown and logoff events (execpt his own ones). Anyway, maybe one can live with this (btw do you know a nice registry hack of the sort "ignore acpi-emergency-shutdown events"? ... ok that does not belong here ...)

Tanks for your help.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use