Crash if inserting rehearsal mark on a multimeasure rest
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
I have tried a few times to insert rehearsal markings using shortcut key (Ctrl+M) and it always crashes. Please fix. Thankyou.
Fix version
3.0.1
Comments
I cannot reproduce here from a new score with : 96c1f7b
So, in order to check, please attach the score where occurs this issue. And by providing details where in the score you try to insert rehearsal marks.
I can here now by inserting rehearsal mark on a Multimeasure rest. Probably your issue too?
Steps:
1) Default "Untitled" score
2) Enter notes and MM Rests
3) Select a mm rest (hightlighted) - image below
4) Ctrl + M, for inserting rehearsal mark
Result: crash
See https://github.com/musescore/MuseScore/pull/4509.
This issue applies not only to rehearsal marks but, for example, to system text or expression text. A similar issue for staff text was previously fixed (see #251451: Crash when trying to add staff text to multimeasure rests), my PR is intended to fix this issue for other text-based elements too.
Fixed in branch master, commit acdc76f958
fix #280775: fix inserting text elements on MM rest via shortcut
Fixed in branch master, commit 5da7b40d6e
Merge pull request #4509 from dmitrio95/280775-inserttext-mmrest
fix #280775: fix inserting text elements on MM rest via shortcut
Automatically closed -- issue fixed for 2 weeks with no activity.