Steps to reproduce:
1. Open a LibreOffice application of your choice.
2. Open a document (creating a new one may also work, didn’t try specifically).
3. Make some changes to the document.
4. Let things sit long enough for autosave to kick in.
5. Save the document but keep it open.
6. Let things sit for some longer.
7. Kill LibreOffice.
8. Open LibreOffice again.
One of the following two:
1. The document is not recovered as it has no unsaved changes (to pick up where you left off, just reopen the document), OR
2. No recovery is performed, the recovery dialog just opens the last saved document.
LibreOffice performs a lengthy recovery, even for documents that had no unsaved changes. This takes much longer than opening the document the regular way, and generates the same result.
LibreOffice 184.108.40.206 (x64) on Windows 10. This behavior has likely been around all along.
As I understand it, LibreOffice already keeps track of two things:
* list of open documents, persistent across crashes
* for each open document, a “dirty” flag (indicating unsaved changes); nonpersistent and lost after a crash
So the approach would be:
* Store the “dirty” flag with the list of documents to recover (i.e. persistent across crashes)
* When restarting after a crash, either limit the list of documents to recover to those with the “dirty” flag set, or choose the recovery strategy based on the “dirty” flag: if set, do the full recovery; if not set, just open the last saved state
Michael, could you try the same in newer LibreOffice version like 7.2.6 or 7.3.2?
This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.
For more information about our NEEDINFO policy please read the
wiki located here:
If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
Thank you for helping us make LibreOffice even better for everyone!
I opened a document in LO 220.127.116.11(x64) and did some changes kept it open. Later on killed the LO process and opened again LO, the auto recovery works on.
Can't reproduce in LO 18.104.22.168 (x64) Windows 10 build:3c58a8f3a960df8bc8fd77b461821e42c061c5f0
*** This bug has been marked as a duplicate of bug 76992 ***