Time signature change by double-click and after selecting a rest in a minimum 2 pages score causes a crash
Nigthly 3250979 / Windows7
1) Open "My First Score" and add 50 measures. Or, open this file: My_First_Score more 50.mscz , or this one (other presentation with added line breaks): My_First_Score 40 measures.mscz
2) For check: in the last measure, change the time signature (eg 2/4)
- by dragging
- by selecting the measure (blue rectangle), and then double-clicking a time sig in the palette
- by selecting the rest (highlighted), and then double-clicking a time sig in the palette
Result: all good
3) Now, add only another measure to the score
Result: a new page is created
4) In the new measure on page 2: repeat step #2 (the three scenarios)
Result:
First one (dragging): correct
Second (selecting the measure and double-clicking): correct
Third scenario (selecting the rest and double-clicking): crash
- Issue related to this thread: https://musescore.org/en/node/75796
Comments
From what I see in time, this issue occurred on July 4, and this is most likely a side effect of the implementation of this feature: https://github.com/musescore/MuseScore/pull/2104
- https://github.com/musescore/MuseScore/pull/2104/files
More precise title.
I have a fix, not 100% confident it's the right solution, but it's definitely much better than a crash :-)
https://github.com/musescore/MuseScore/pull/2207
Fixed in branch master, commit c235ff79cf
fix #75861: crash adding timesig to note or rest on page >1
Fixed in branch master, commit 35b9f498ce
Merge pull request #2207 from MarcSabatella/75861-timesig-cr-crash
fix #75861: crash adding timesig to note or rest on page >1
Automatically closed -- issue fixed for 2 weeks with no activity.
wouldn't this be needed in the 2.0.3 branch too?
Not sure if maybe this was already merged into that branch before the notifications were set up, but anyhow, the fix should indeed be useful for 2.0.3.
60dcf95bfa is the commit for the 2.0.3 branch (thanks, lasconic!)
Seems as part if #81456: Unpredictable results when copying time signature from one measure to another