Missing space above text frame on import, added on first full relayout
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.1.0.5747, revision: ea728db
Open the attached score and reset. Select "TEXT" and set the Y offset to 0 (zero) so that it goes back into the text frame. Now press the "Set as style" button.
Expected result: Nothing.
Actual result: A space appears above the text frame.
Attachment | Size |
---|---|
set_as_style_issue.mscz | 31.87 KB |
Comments
Actually, the bug is that the space was not present immediately on load. Anything that triggers a full relayout causes the space to correctly be added (eg, just do the import then toggle concert pitch). The added space is correct as per "Vertical frame top margin".
The large gap above the text frame wasn't there in 2.3 (Top gap was set to zero). That looks like another bug.
2.3.2 did have a style setting to control the margin about text frames - this was indeed a bug. 3.0 now applies the "vertical frame top margin" setting. Perhaps we could try automatically reducing the top gap for each frame itself on import to compensate, so feel free to suggest that.