Am Samstag, 25. März 2006 23:16 schrieb John Spray: > My notion of the desired behaviour would encompass two cases: > 1. The user quits manually. When next starting, the session will > be restored if the load_session option is true. > 2. The user quits by logging out while LyX is running. When next > starting, the state will be restored completely. > > The point being that the usual behaviour would be determined by > load_session, but we can also use this new functionality for the added > spiff of recognising desktop-wide session management.
Yes, we should so soemthing like this. Note that there is another way to quit LyX: 3. Something bad happens, like a segfault or LyX is killed manually (emergency exit). This is not the same as 2., because in 2. the OS sends a "save session" signal before LyX is killed hardly. We should take a safe approach and not attempt to save any session info in case 3, only the open documents as it is now. Georg