Bug 149920 - Temp file recovery missing
Summary: Temp file recovery missing
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: dataLoss
Depends on:
Blocks: AutoSave-AutoRecovery-Backup
  Show dependency treegraph
 
Reported: 2022-07-08 17:23 UTC by Patrick
Modified: 2024-06-11 09:48 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2022-07-08 17:23:40 UTC
Description:
about 1 in 10 times the crash recovery fails to find the temp files. It just opens, also shows no recent documents. 

I don't know how to reproduce as it only happens every 1/10 t 1/20 times. Its gotten a bit better, and I've gotten to where I save my work fairly regularly, but yesterday, I lost about an hour of work.

THis is office itself. As the recovery dialog lists multiple components The two I am usually using are calc and writer. 

I just upgraded after the incident so its technically not 7.2.2.2, but shows my system info: 

Version: 7.2.7.2 (x64) / LibreOffice Community
Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

Steps to Reproduce:
1.windows closes/shuts down unexpectedly when laptop goes to sleep. 
2.
3.

Actual Results:
occasionally gives document recovery dialog sometimes doesn't

Expected Results:
Should always keep temp documents available for recovery. And recent documents. 


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
Just opening a new instance, the stuff should not be erased/cleared.
Comment 1 BogdanB 2022-12-18 12:04:57 UTC
Go to Tools - Options - Load/Save - General and check "Save AutoRecovery.." and also check "Always create backup copy".

Please test with a demo document and see if you loose again some info...
Comment 2 Justin L 2023-07-13 23:04:50 UTC
Reducing importance since it is not reproducible. Nothing can be done unless this can be 100% reliably triggered.
Comment 3 Stéphane Guillou (stragu) 2023-07-21 07:05:29 UTC
Patrick, does this still happen with a currently-supported version of LibreOffice? Please test with 7.5, make sure that you have the settings in comment 1 turned on, and report back.
Thank you!
Comment 4 Justin L 2023-08-09 14:14:52 UTC
(In reply to Patrick from comment #0)
> about 1 in 10 times the crash recovery fails to find the temp files. It just
> opens, also shows no recent documents. 
What do you mean by temp files? New documents with some content that has not yet been saved? (Too most of us, temp files are stored in %TEMP% and often created by opening an email attachment etc.)
Comment 5 Patrick 2023-08-09 18:40:33 UTC
I am assuming it's writing a temp file somewhere that contains each character between writing/saving to the perminant file. If it's recovering it from somewhere, it must not only be in volitile memory.
Comment 6 Patrick 2023-08-09 18:43:27 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Patrick, does this still happen with a currently-supported version of
> LibreOffice? Please test with 7.5, make sure that you have the settings in
> comment 1 turned on, and report back.
> Thank you!

I have not noticed it lately, but then I have not been doing a lot in Libre office let alone dealing with random system shutdowns.
Comment 7 QA Administrators 2023-08-13 03:20:25 UTC Comment hidden (obsolete)
Comment 8 Justin L 2024-06-11 09:48:16 UTC
I'm going to close this bug report.

(In reply to Patrick from comment #5)
> I am assuming it's writing a temp file somewhere that contains each
> character between writing/saving to the permanent file.
What you are discussing is related to timed autorecovery. By default LO creates an AutoRecovery backup of modified files every 10 minutes (not after each keystroke).

I assume that in the cases where this is "missing", the crash happened before the 10 minutes of modified time has occurred. You can adjust the timer down to 1 minute if you like via Tools - Options - Load/Save - General.