Staff spacer down does not work on last system of page

• Jan 29, 2021 - 18:33
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

This broke with 3.6.0, but it's only broken with vertical justification enabled.

1) default empty score
2) add spacer down to last staff
3) increase its length

Result: it can be increased until it goes right off the page, with no change to spacing until you go so far that the last system does fit on the page at all any more.

Awkward workaround is to use a vertical frame instead.

This has been a bug that has come and gone over the years, breaking with various different changes to the spacing algorithm. See for instance #281253: Staff spacer down doesn't work at page bottom and my PR that fixed it, https://github.com/musescore/MuseScore/pull/4722 (specifically, the commit https://github.com/musescore/MuseScore/pull/4722/commits/8fa5fcb2d28f5e…).


Comments

Status PR created fixed

Fixed in branch 3.x, commit 0b50db62a2

_Fix #316610 - Staff spacer down does not work on last system of page

Check for an active spacer (a fixed spacer or the up/down spacer with the largest gap) for a system
use this as a fixed gap for vertical staff adjustment. To make sure the spacers also work between
the last staff and the bottom margin of the pages, the calculated space to be used for the spread
algorithm ("spaceLeft") is reduced by this gap._

Fixed in branch master, commit ffb8791dc7

_Port of PR #7377 from 3.x to master

Fix #316610 - Staff spacer down does not work on last system of page

Check for an active spacer (a fixed spacer or the up/down spacer with the largest gap) for a system
use this as a fixed gap for vertical staff adjustment. To make sure the spacers also work between
the last staff and the bottom margin of the pages, the calculated space to be used for the spread
algorithm ("spaceLeft") is reduced by this gap._

Fix version
3.6.2