Auto placement of text ignores page margins.

• Nov 27, 2018 - 19:38
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project

text off page.PNG

As seen in the picture, the page margins are not taken into consideration in any form when text is placed. This problems also existed in version 2, but auto placement of text items should take page margins into consideration when placing text.

I would suggest the following way to fix this.
1. Attempt to word wrap the text to see if it can be made short enough to fit on the page
2. If after word wrap occurs and text is still beyond the margin, move the text to 1/2 a space to the right of the previous note or rest and see if the margin is honored.
3. If 1 and 2 fails, put a system break in the measure before the text and remove any system break from the measure with the text.

I realize this is unconventional for other auto placement, but I don't know a better method for auto placement.


Comments

This isn't only a problem with tempo text - I just inserted some expression text near a page break, the margins were ignored there as well.

marginissues.png

On this particular case, the measure should be bumped to the next page. Might be easier to do that with all such cases.

As far as I know, autoplace currently only shifts text vertically, not horizontally. I'm not too sure we'd really want it doing that as it would potentially change the meaning (imagine the tempo change shifted back far enough it appears to take effect the previous measure). Perhaps what we really need to do is to consider the width of the text as being part of the width of the measure when deciding if the measure can fit or not, and if not, simply move the measure to the next system.