Improving recovering of files

• Aug 20, 2018 - 22:40

Not sure, if it's a bug report or a feature request.

It cames up from a German discussion: https://musescore.org/de/node/274434

From time to time several users complains, that they didn't find a autosaved version or a backup file, after a score is beyond repair.
(fortunatley I myself didn't have such a situation with my own scores).

But I wonder, if there is a lack of recovering in some cases (to minimize such complains and requests):

Case 1:

  • create a score, insert notes
  • close MuseScore without saving the score (could occur of an user error or a crash)

Expected result: I'll find a autosaved version
Actual result: there isn't a autosaved version

Case two:

  • create a score
  • save the score
  • close MuseScore

Expected result: There's a backup file in the same folder (whithout restarting MuseScore again)
Actual result: After saving a score the first time there isn't a backup file (only in a second session of MuseScore I'll find this file)

And for the second case: I'm not sure, if MuseScore creates an autosaved version before waiting the two minutes.

As sometimes I'm not familar with such procedures and maybe I misunderstand something (and the answers of Jojo too ;-).


Comments

I believe in case 1 an Autosave file does get created, but in case of a clean exit gets deleted. Everything else would be a bug. Keeping the Autosave in case the file didn't get saved print to exiting Musescore might be an option to consider as a feature request.

In case 2 what should the content of the backup file be? There is no previous version to save.

In reply to by Jojo-Schmitz

Concerning the backup file I had an error in reasoning. Indeed, it does make more sense to create a backup of the previous version instead of creating a backup after saving the changes at the end of a session (for my request it means: it doesn't make sense to create a unreadable backup file of an unreadable score)

But in booth cases (an unsaved score or a saved score after closing the first session (with a clean exit)), at time there doesn't seems to be possibilities to recover such files, if they're unreadable (for whatever reason). And I wonder, if MuseScore could have a protection for these cases.

Do you still have an unanswered question? Please log in first to post your question.