Lyrics entry with multimeasure rest selected

• Jun 1, 2020 - 21:48
Reported version
3.4
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
PR created
Regression
No
Workaround
No
Project

1) Press M to enable multimeasure rests in the default "Untitled" score.
2) Click on the multimeasure rest.
3) Press Ctrl+L (macOS: Cmd+L) to enter lyrics.

Expected result: action prevented, with alert that a note or rest needs to be selected.
Actual result: weird, bad stuff. A text field appears far away in the corner of the page; you can type, but only the cursor moves without showing any of the letters; everything disappears when you leave text editing mode.

Problem arises because lyrics entry is supposed to be enabled for normal rests, and currently multimeasure rests are the same type. Fixed as a side effect of https://github.com/musescore/MuseScore/pull/6108/.


Comments

Actually, I'd rather see it work as expected - entering a lyric. Whether this should also result in the measure being marked not empty or not is an open question worth discussing on the forum. Note we allow staff text on an mmrest without breaking it, and people rely on this. To me it seems natural to want lyrics to behave similarly, but arguably people could just add staff text and flip it below the staff.