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

--- Comment #9 from Justin L <[email protected]> ---
There is so much stuff here, I'm not sure how to respond. Hopefully much of it
is "better" in 24.2.

(In reply to Harald Koester from comment #0)
> Steps to reproduce:
> [1] Start LibreOffice and disable option “Load/Save > Save > Save
> AutoRecovery information. Then  OK.
> [2] Create new text document and insert some text.
> [3] Save document.
> [4] Insert some more text.
> [5] Force LibreOffice to close by
>    (a) using the task manager (simulates freeze)
>    or
>    (b) switching off the power supply of your computer (simulates a blackout
> of the power supply)
> Case (a): Ignore the save document dialogue. Just wait until you are asked
> to end LibreOffice. Click button to end LibreOffice. 
> Case (b): Just reboot your system.
> [6] Start LibreOffice again. The recovery dialogue is displayed.
Generally not true. With [1] disabled, only an EmergencySave or SessionSave
could trigger a recovery on startup. Potentially [5a] or an OS-triggered reboot
could trigger a SessionSave, but 5b should never allow [6].

> Expected: Inform the user that LibreOffice has been closed
> unintentionally and that all data changes since the last user save are lost.
Disagree. How can LO know that there were documents with unsaved changes at any
arbitrary point in time? By turning [1] off, you are denying yourself the right
to have any recovery benefits. In addition, bug 57414 is all about NOT showing
a dialogs unless necessary, so lots of people would disagree with a simple
warning dialog after every non-clean shutdown.

> Furthermore the user should be advised to enable the option
> mentioned above in order to avoid data losses in future.
Disagree. It defaults to on. If the user turns it off, they are responsible
now.

> the user should be asked if the last saved document should be opened.
Disagree. That is what start center and open recent are for.

> A second recovery dialogue, where the user is informed that a successful
> recovery has been performed is not necessary.
Agree, and done for bug 145606.

> Furthermore I tested the recovery behaviour of LibreOffice in case of a
> LibreOffice crash. Therefore I used bug 75898. With this bug a complete
> recovery is possible and the changes in step [4] are recovered.
I assume that is an EmergencySave and automatic restart. Yes, in this case
every open document should have been saved at the time of restart, so no
changes should be lost. 

>  But I do not know if a complete recovery is possible in all crash cases.
Definitely not.

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

Reply via email to