Musescore crashes on starting if deleting .mscz file that has been created in previous session
S2 - Critical
Steps to reproduce the bug:
1) Create a new project
2) Save it
3) Leave opened in Musescore only that project and close the program
4) Delete project's .mscz file (backup folder is empty)
5) Open Musescore
6) Musescore will says previous file doesn't exist. It will crash and trying to restore session won't work.
OS: Windows 10
Musescore version: 18.104.22.1687915773
Open a pre-existing .mscz. Choice in restoring dialog doesn't matter
Tried also with MuseScoreNightly-202101120440-master-7e2fdaa-x86_64
About nightly version, Musescore 4 just doesn't show previous project if it's been deleted (but it will show up again if restored), so behaviour seems to be correct.
I'm doing this quite often (MuseScore set to continue with last session, deleting the file and restarting) I do get the message that the file doesn't exists, but so far it never crashed.
Or is that only happening with 3.6.0? (which is outdated by now, 3.6.1 is available)
Master/MuseScore 4 is not there yet, no need to test there
Actually I just tried it just now with 3.6.0 and 3.6.1 (PortableApp, Windows 10) and can't reproduce it
In reply to Actually I just tried it… by Jojo-Schmitz
Thank you for response, I tried 3.6.1 (both with installer and portable) and the bug isn't happening anymore.
At this point it probably was something about my specific configuration that has been resetted/corrected during upgrade.