Auto placement of text ignores page margins.
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 happened to me as well when I had a tempo change near the end of a page.
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.
On this particular case, the measure should be bumped to the next page. Might be easier to do that with all such cases.
In reply to This isn't only a problem… by Laurelin
I only used a tempo text in the example because that's where I saw it. I never specified a specific type of text.
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.
In reply to As far as I know, autoplace… by Marc Sabatella
@marc, That is the same as my 3rd step for auto placement. 1 & 2 of my suggested fex are not likely to be implemented until word wrap is implemented, but it would be very nice if they were.