https://bugs.documentfoundation.org/show_bug.cgi?id=32884
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- OS|All |Linux (All) Version|3.4.4 release |unspecified Summary|recovery should |support session management |differentiate between |for KDE, GTK so SessionSave |crashes and session |runs on OS logout/shutdown |restoring | --- Comment #10 from Justin L <[email protected]> --- I learned a bit more about AutoRecovery today. (In reply to Mark from comment #0) > At the moment LibreOffice what happens when LibreOffice was closed without > all documents saved is something which was seemingly build for a crash There are three types of AutoRecovery. Timed autorecovery is for hard crashes, and EmergencySave is for soft crashes. The OS sending a kill signal would trigger one of these two, which you are probably experiencing. The third type is a SessionSave, and it does restore all documents silently. It even silently ignores /tmp files etc. > I use Linux (KDE) which has the benefit of a session management. Based on my commit reading, it sounds like work was done to support KDE session management. However, in my testing I didn't get it to work. However, all the pieces are there - they just need to be wired up properly. vcl/unx/generic/app/sm.cxx vcl/source/app/session.cxx > I wish that LibreOffice would handle this specific case better: A valid desire. Needed for KDE, GTK, Windows (bug 109085). > - If I am using session management, I do not want to answer any questions, > which documents should be restored. It should just happen. If officecfg::Office::Recovery::RecoveryInfo::SessionData is true instead of officecfg::Office::Recovery::RecoveryInfo::Crashed, it will be silent. > - It does not make sense to try and restore documents which were stored in > the /tmp-folder since this will be deleted on reboot. Or SessionSave could ensure there is a recoveryFile available for them. This would certainly be useful for USB or disconnected server files. -- You are receiving this mail because: You are the assignee for the bug.
