https://bugs.documentfoundation.org/show_bug.cgi?id=146769

--- Comment #22 from Justin L <[email protected]> ---
I personally tend to agree with all of Stuart's points. Obviously many people
disagree with us, so I have worked on a solution for this even though I never
intend to use it myself. https://gerrit.libreoffice.org/c/core/+/155460

Comment 10's discussion about what happens when the OS shuts down or logs out
is dealt with in separate bugs. While related, that is an entirely different
topic.

I see two possible levels of implementation from the user-action point of view.
One is brand new development of an entire session management system - where
multiple, named groupings of files can be opened together - which is bug
117237. (Comment 11's manual solution) [I have no intention of working on
this.]

The second implementation level is to always keep track of the "currently open
files" and automatically reload them. This is _complementary_ to the first
level. It simply ties in with existing AutoRecovery code, and always maintains
a RecoveryList of open documents. (duplicate bug 56132, bug 150898, bug 157899,
bug 158665)

Level #2 should be easy to implement (see proposed code). Timed backup already
creates this RecoveryList, so we already have SessionSave in the case of a
crash (both a hard crash, and a soft EmergencySave). Thus we only need to add a
config option to tell "Quit" that it should trigger a SessionSave.

I guess the biggest question is whether the existing code is robust enough to
handle being more intentionally used. Plus not EVERY path that allows LO to
restart or quit is guaranteed to be covered.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to