Management of files opened as the app/the system crashes

Hello
Linux Kubuntu / OO last version (904) snap.
As far as I understand, when a file is opened by OO, an hidden file name.~lock.myfile.pptx is created.
When OO or the system crashes, there are two possibilities:

  • the file was modified and not saved before crash => it is listed in the “Unsaved file” section on the “Home” screen of OO (I don’t have the English label but I assume you get what I mean).
  • the file was saved before crash => it is not listed here.
    So far so good.

However, as far as I see it, there are two pebbles in my shoe.

  1. for saved files, the lock file that was created when the file was opened has not been deleted. Consequence : when you reopen the file, OO consider it as locked (not a big issue but boring as long as you have not realized the cause of the issue)
  2. for modified and unsaved before crash files, recovery files are ok, you get back you work were it was. However, when you want to save it, it is not the storing folder of the original file which is proposed. So you have to browse to it. It would be great if OO could directly propose to save it in its original folder.

I realize that it is not everybody who as an unstable system… but I hope I’m not the only one :slight_smile:

Hey @arcqus, :wave:

Thanks for feedback on the crash recovery behavior in ONLYOFFICE Desktop!

To help us reproduce these issues accurately, could you share a step-by-step scenario for both cases? For example:

  1. Lock file issue: Steps like: Create a PPTX file → Save it → Simulate a crash (e.g., force quit OO or system crash) → Reopen OO → Check file and lock status.
  2. Recovery save folder issue: Open a file → Edit without saving → Simulate a crash → Recover file in OO → Describe the save dialog behavior.

This will let us test it thoroughly. For your info, we’re planning to revamp the recovery system in upcoming releases. The goal is to have unsaved files open automatically on app launch, and we’re likely removing the “Recovery” section from the start page to streamline things. :roll_eyes: