Barlines not drawn in edit mode (drag)

• Apr 11, 2019 - 23:10
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.


Comments

Fix version
3.1.0