[haiku-development] Re: The ways of Reboot. Acknowledge or not?

On Thursday 30 April 2009 12:15:48 Fredrik Holmqvist wrote:
> With the warning (think of a popup clip) it will be this on shutdown:
> "Hey I'm your email, do you really want to save?"
> "Hey I'm your editor, do you really want to save?"
> "Hey I'm Firefox, do you really want to close those tabs?"
> ....

This makes me think, maybe we could have a single dialog with a list of 
the applications that have unsaved data. Next to the name of each 
application would be a save button, unless the application has such 
complex needs that they can't be supported by a single hook. Each 
application could also be expandable to show the documents of that 
application. Another option would be to show just the documents instead 
of applications if this fits the Haiku philosophy better, but in this 
case document-less applications would become a problem (such as Firefox 
with its tab list).

After pressing the save button the document, or all the documents open 
in one application, will be saved and will disappear from the list; 
after saving all the documents in an application, it will disappear. If 
the user directly interacts with the application (quits it or saves the 
data from inside it), the list will also be updated. At the bottom of 
the dialog you could have buttons called "Cancel", "Save all and 
Shutdown", and "Discard all and Shutdown", where Shutdown could be 
replaced with the actual action ("Reboot" or "Power Off").

Then again, the API changes required for this may be so large that this 
would better fit in the Glass Elevator discussions.

-- 
Henri Vettenranta
HeTo

Other related posts: