Undo Insert/Append Measures Causes Crash
S2 - Critical
Undoing an Insert/Append Measures causes a crash.
Steps to reproduce:
- Create a new/empty score with 2 (probably can be any number of) measures.
- Click on any measure to select it.
- Add->Measures->Append Measures... (or Insert Measures...)
a. Enter '2' into the number up/down field and click 'OK'.
- Press Ctrl+z -- crash occurs.
Doesn't crash for me, MuseScore 3.6.2, Windows 10
I'm running Windows 7. The scores I create are for piano.
This occurs every time for me.
Not for me. Try Help > Revert to factory settings
That fixed it. I will manually redo all of my settings, but in case it happens again, here is my old preferences file.
Thanks for your help!
If you provide the ini file with all setting you want /need restored and still don't have the issue, please share that too, for comparison
Well, it is definitely something to do with the way I set up my preferences. I manually changed everything back to the way I like it. The crash recurs when I repeat the above steps. Here is the new preferences file which causes the same issue.
Try step by step, amd save the ini before and after the crash.
I attached the requested files.
Tool windows that I have open include: Navigator, Score Comparison Tool, Timeline. I discovered that the crash does not occur prior to having these windows open. Also, the crash does not occur after these windows are closed and the above steps repeated. However, the crash does occur when the Timeline is reopened. Taking a guess, it might be a NullPointerException associated with the Timeline.
Ah! See #317511: Crash on Undo after adding measures with timeline open
Fixed in 3.x via https://github.com/musescore/MuseScore/pull/7524.
Also part of https://github.com/musescore/MuseScore/pull/9000
Unfortunately no further 3.x version is planned. 4.0 may not be affected, not having the timeline feature (yet)
So, it's fixed, but not in the latest downloadable version?
Yes, not in any release yet.
But there are the nightly builds.