On 2011-06-26 at 11:08:03 [+0200], Clemens <clemens.zeidler@xxxxxxxxxxxxxx> wrote: > On the other side I don't know if its a good idea to store unsaved > document at all. When closing an application the app ask to save the doc > anyway. If the user clicks no it does not make sense to store the doc > IMHO. In this case a BMessage should be enough to store the app state. > What do you think? IMO session management should persist the complete state, including unsaved documents and undo histories. If necessary, a setting could be added, so that the user can disable that behavior and be asked whether to save changes instead. CU, Ingo