Barlines not drawn in edit mode (drag)
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
1) score with multiple staves, multiple pages
2) go to page 2
3) double-click a barline on a staff other than the bottom
4) drag it down
Result: you can see the handle as you drag, but the barline itself doesn't draw. It's actually being drawn on the first page. It fixes itself when you release, so not a huge deal.
The issue has got to be in BarLine::drawEditMode(). We're translating the view according to pagePos() when at the least it should be canvasPos(), but somehow that's not enough, this gets the line drawn on the right page but then it always draws relative to the top staff even when adjusting a barline on a lower staff. I guess the y1 & y2 would need to get updated too.
Fix version
3.1.0
Comments
https://github.com/musescore/MuseScore/pull/4915
Fixed in branch master, commit 34a2ff11fe
fix #287577: draw barlines correctly during edit
Fixed in branch master, commit e8b5094d26
_Merge pull request #4915 from MarcSabatella/barline-edit
fix #287577: draw barlines correctly during edit_
Automatically closed -- issue fixed for 2 weeks with no activity.