You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create multiple new scores, and MuseScore crashes before you have a chance to save some of them, you will never be able to recover any except the last one you created.
Steps to reproduce
Create a new score (Score 1). Keep it open but don't save it.
Create another new score (Score 2).
Close Score 2 the normal way, with or without saving.
Back in Score 1, go to DevTools > Crash handler > Crash.
Launch MuseScore again.
Expected behaviour: MuseScore offers to recover the previous session (i.e. Score 1). Actual behaviour: MuseScore does not recover Score 1.
Another variant of this issue:
In step 3, instead of closing Score 2 the normal way, crash MuseScore and then continue with the other steps.
Expected behaviour: MuseScore offers to recover both sessions (Score 1 and Score 2). Actual behaviour: MuseScore only offers to recover Score 2.
Because this backup file is always called new_project.mscz, it overwrites the previous backup file so only the last created score can be recovered. Instead, we should number the backups new_project1.mscz, new_project2.mscz. or add a creation timestamp to the name like: new_project_created_2023-04-13-183724.mscz.
We also need a design for the dialog that will appear when more than one backup score is available to recover. The information available for this dialog is:
The filename of the backup file, which could include the session number or creation date as mentioned above.
The modification date of the backup file (i.e. the time at which the last autosave occurred).
We could also display information from within the file, such as the score title and thumbnail image, but it might be better to avoid this in case the file is corrupt (e.g. if MuseScore crashed during the autosave operation).
The user should be able to recover all the files and then choose whether or not the keep each of them.
The text was updated successfully, but these errors were encountered:
Issue type
Other type of issue
Bug description
If you create multiple new scores, and MuseScore crashes before you have a chance to save some of them, you will never be able to recover any except the last one you created.
Steps to reproduce
Expected behaviour: MuseScore offers to recover the previous session (i.e. Score 1).
Actual behaviour: MuseScore does not recover Score 1.
Another variant of this issue:
In step 3, instead of closing Score 2 the normal way, crash MuseScore and then continue with the other steps.
Expected behaviour: MuseScore offers to recover both sessions (Score 1 and Score 2).
Actual behaviour: MuseScore only offers to recover Score 2.
Screenshots/Screen recordings
MuseScore Version
Latest nightly build (95280d8)
Regression
No.
Operating system
All
Additional context
As soon as you create a score, MuseScore immediately creates a backup copy called
new_project.mscz
at the following hidden location:%LOCALAPPDATA%\MuseScore\MuseScore4\
C:\Users\USERNAME\AppData\Local\MuseScore\MuseScore4\
~/Library/Application Support/MuseScore/MuseScore4/
~/.local/share/MuseScore/MuseScore4/
Because this backup file is always called
new_project.mscz
, it overwrites the previous backup file so only the last created score can be recovered. Instead, we should number the backupsnew_project1.mscz
,new_project2.mscz
. or add a creation timestamp to the name like:new_project_created_2023-04-13-183724.mscz
.We also need a design for the dialog that will appear when more than one backup score is available to recover. The information available for this dialog is:
We could also display information from within the file, such as the score title and thumbnail image, but it might be better to avoid this in case the file is corrupt (e.g. if MuseScore crashed during the autosave operation).
The user should be able to recover all the files and then choose whether or not the keep each of them.
The text was updated successfully, but these errors were encountered: