Bad drawing of selection rectangle when selection ends with disabled segment
Reported version
3.0
Priority
P2 - Medium
Type
Graphical (UI)
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
1) default score
2) enter four quarter notes on last bar of first system
3) place a key signature and time signature change at the start of second system
4) remove them
5) select last bar of first system
Result: bad drawing of selection rectangle:
Problem has to do with bad layout info on the now-disabled segments. Fix might seem to be to skip disabled segments while building the selection rectangle, but actually, the selection itself is arguably at fault, as the end segment is the disabled courtesy time signature. On the other hand, messing with drawing of rectangles in scoreview is less risky than messing with selection. So I propose drawing from first enabled to last enabled segment.
Fix version
3.1.0
Comments
https://github.com/musescore/MuseScore/pull/4924
Fixed in branch master, commit 6eb70796d6
fix #287747: bad drawing of selection with disabled segment
Fixed in branch master, commit e0c703f101
_Merge pull request #4924 from MarcSabatella/courtesy
fix #287747: bad drawing of selection with disabled segment_
Automatically closed -- issue fixed for 2 weeks with no activity.