Horizontal offset lost in text frame

• Jun 16, 2017 - 18:52

I'm new to MuS and still feeling my way so apologies if I am missing something obvious.

I have a text frame placed towards the bottom of a one page score to hold a third verse for the hymn setting above it. The frame auto stretches across the whole page so I set the horizontal offset for the text such that it stands in the centre of the page and save the file. All is well until I reopen the file when I find that the text offset appears to have doubled and my text is far to the right of the page.

Am I missing something or could this be a bug? Score attached, pdf as it should be, mscz showing the bug (I hope). I'm running MuS 2.1 871c8ce on OSX 10.12.5 (16F73).

Attachment Size
Riding-O_Gladsome_Light.pdf 403.39 KB
Riding-O_Gladsome_Light.mscz 27.65 KB

Comments

Yes, I think it's a bug, but I'm not sure how to reproduce it. Somehow your text frame seems to trying to default to centering text even though the text itself is not cet to be centered, and I'm not clear on why or how. if I delete your frame and append a new one, it works fine. Can you explain more about what you did to get into this state?

For the record, instead of using the horizontal offset and eyeballing it, better to just change the alignment of the text itself to center using Text Properties.

In reply to by Marc Sabatella

It's due to the text frame margins In correlation with the text horizontal/vertical offset settings.

On the attached file, by clicking on the border text frame, in Inspector, the left margin is 38.00, and top margin: - 2.00
So: if you reset these values of margins to 0, the customized horizontal/vertical offsets are saved: 1Riding-O_Gladsome_Light.mscz

And vice versa: if the vertical/horizontal offsets are setting to 0, and the left margin to 38, it's saved too: 2Riding-O_Gladsome_Light.mscz

And thus, by cumulating the two settings, you get an unexpected result as in the initial attached file: 3Riding-O_Gladsome_Light.mscz

From scratch: Untitled.mscz
- Text frame left margin set to 35.00, + Horizontal text setting to 13.
After save/close/reload, the horizontal offset is 32.84, and is growing after news save/reload: 52,69, then 72,53 etc.

EDIT: not yet checked all cases, but seems good if in Style/Text/Frame, the alignment is centered or to the right.
But not, as showed, with the alignment default (left) in combination/addition with text frame margin (ie left frame margin + text horizontal offset)
And also with top frame margin + text vertical offset.

Do you still have an unanswered question? Please log in first to post your question.