[haiku-development] Re: The ways of Reboot. Acknowledge or not?
- From: Stephan Aßmus <superstippi@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Thu, 30 Apr 2009 18:53:28 +0200
Henri Vettenranta schrieb:
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.
There is a number of things that applications can do wrong in this situation, but instead of this dialog, I'd rather like all applications behave well:
1) Automatically switch the current workspace to where the document window is displayed. Until a couple month ago, Pe did this wrong for example. A lot of other apps may still do this wrong.
2) If the documents are displayed in tabs, make sure the respective tab is showing. This is important in WonderBrush for example (well, no tabs, but a list).
If both of these points are implemented, it will make sure that I get to see the context of the document, and even better than a preview, I get the real thing. All of this helps me to decide if I still wanted to save that document or not.
On top of these arguments, what you propose takes a lot of work and introduces another protocol that applications must follow. So I don't like this idea. Ubuntu was recently updated to implement something in this direction. You get a dialog listing applications that still have unsaved documents, I think they even list the documents individually. Unfortunately, they forgot to also let you switch workspaces still, to actually save your documents, should they be on another workspace (!) and the only option in this dialog is to force quit the apps. In any case, from this experience I know that I want to see the actual document, not some indirection like this dialog that only adds work for app developers and Haiku developers.
Best regards, -Stephan
- Follow-Ups:
- [haiku-development] Re: The ways of Reboot. Acknowledge or not?
- From: Johannes Wischert
- [haiku-development] Re: The ways of Reboot. Acknowledge or not?
- From: Stephan Aßmus
- [haiku-development] Re: The ways of Reboot. Acknowledge or not?
- References:
- [haiku-development] Re: The ways of Reboot. Acknowledge or not?
- From: Stephan Assmus
- [haiku-development] Re: The ways of Reboot. Acknowledge or not?
- From: Axel Dörfler
- [haiku-development] Re: The ways of Reboot. Acknowledge or not?
- From: Fredrik Holmqvist
- [haiku-development] Re: The ways of Reboot. Acknowledge or not?
- From: Henri Vettenranta
- [haiku-development] Re: The ways of Reboot. Acknowledge or not?
Other related posts:
- » [haiku-development] The ways of Reboot. Acknowledge or not? - Siarzhuk Zharski
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Humdinger
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Assmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Alexandre Deckner
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Siarzhuk Zharski
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Alexandre Deckner
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Michael Bridgers
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Assmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Gerald Zajac
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jorge G. Mare
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Rob Judd
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Assmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Adrien
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Assmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Siarzhuk Zharski
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Ryan Leavengood
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Matt Madia
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Ingo Weinhold
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Adrien
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Siarzhuk Zharski
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Siarzhuk Zharski
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Ryan Leavengood
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Assmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Humdinger
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Ryan Leavengood
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Ryan Leavengood
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Jonas Sundström
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Truls Becken
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Clemens zeidler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Philippe Saint-Pierre
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Humdinger
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Siarzhuk Zharski
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Aßmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Fredrik Holmqvist
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Fredrik Modèen
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Fredrik Modèen
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Aßmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - James Bell
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Henri Vettenranta
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Aßmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Johannes Wischert
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Aßmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Aßmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - François Revol
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - donn
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Ryan Leavengood
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Rob Judd
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Rob Judd
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Matt
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Matt
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Stephan Assmus
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Michael Phipps
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Dustin Howett
- » [haiku-development] Re: The ways of Reboot. Acknowledge or not? - Axel Dörfler