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

--- Comment #3 from Amin Irgaliev <[email protected]> ---
Created attachment 209640
  --> https://bugs.documentfoundation.org/attachment.cgi?id=209640&action=edit
001

I assumed that, with the checkbox enabled, it should autosave the original
document and clear the TempURL, but that doesn’t happen.

Since the original document was autosaved (the “Autosave ... instead” checkbox
is enabled), there should be no temporary file. However, in its current state,
a zero size temporary file is created, and TempURL is not empty. It attempts to
restore a file that doesn’t need to be restored and doesn’t exist. This is what
leads to the showing a lot of unnecessary dialogues, in my opinion.

If my assumptions are correct, then perhaps it would be better to clear the
TempURL in the void AutoRecovery::implts_saveOneDoc method after calling
xDocSave->store(); using the implts_flushConfigItem method with the bRemoveIt =
true parameter.

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

Reply via email to