No way to select horizontal frame with one-line staff

• Feb 4, 2019 - 04:05
Reported version
3.0
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

1) Create a score for a one-line instrument (e.g. Concert Snare Drum), or start with the default "Untitled" and change it to a one-line staff.

2) Select any measure and choose Add > Frames > Insert Horizontal Frame.

3) In MuseScore 2, the frame is visible and selectable. In 3.0.2, the frame has zero height and cannot be accessed.


Comments

There are some constants we use for drawing things like barlines for single line staves, we should use them here too. Eg, BARLINE_SPAN_1LINESTAFF_FROM. Or maybe the sysstaff bbox.