Text line with text above or below collides with line

• Aug 18, 2014 - 15:47
Reported version
2.1
Type
Functional
Severity
S4 - Minor
Status
active
Project

1. Open attached score (produced in 2.0).

Result: Text line with text above or below collides with the line.

Text line with text above or below collides with line.png

Using MuseScore 2.0 Nightly Build (24700da) - Mac 10.7.5.


Comments

There's a kind of unfortunate conflict between the idea of placing text above/below the line via this dropdown, versus setting the vertical alignment in the text properties themselves. If you want text above or below line right now, you can get this by setting vertical alignment of the text. It isn't really clear to me how these parameters should interact. I'm kind of inclined to suggest replacing the Left/Above/Below dropdown with a checkbox "Left" that just controls the horizontal layout (whether line starts after the text or concurrently with it) and let you use text properties beyond that.

So right now, there is essentially no difference at all between Above and Below in this dropdown - both have the effect of horizontally aligning the text start with the line start but giving up control of vertical alignment to the text style. In fact, the only place the code recognizes a difference is in calculating the bbox, and you can see this if you set the vertical alignment to above in the text style but below in the line properties - you won't be able to select the line by clicking where the text is (above), only where it "should" be (below). So really, it's pretty silly that we even provide these separate options. All we really are controlling is whether the line starts immediately or whether it starts after the text.

I'm perfectly happy to document that the way to control above / below placement is via the text properties. Then, I'd love to see the separate Above / Below options removed from the Line Properties dialog (replaced with a single option labelled "Overlap" or something to that effect, making it more clear that actually aligning above or below is accomplished by other means. I think this makes more sense than trying to make the Above / Below controls actually "work" - it isn't clear what that means given the fact this inherently conflicts with the vertical alignment in text properties.

Might be too late to do this for 2.0, but something to consider.

I meant the text properties within the line properties dialog. Of course, I was talking about the state of things in 2015. It's very different now.