Automatic staff spacing produces large gap after first line

• Nov 23, 2020 - 08:09
Reported version
3.x-dev
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

3.6 alpha used:
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.6.0.376878339,
In the score attached, when clicking on "enable vertical adjustment of staves" it produces a large gap between soprano and alto in the first system. Similar effect on many other of my 4-6 part vocal scores.

Attachment Size
Audite nova (542)3-2.mscz 3.13 MB

Comments

Title Automatic staff spaing produces large gap after first line Automatic staff spacing produces large gap after first line

I don't know if I can see it in this score, but I do believe there are problems in some of mine (I've provided samples to one of the developers).

Severity S4 - Minor S3 - Major
Priority P1 - High

To be clear: this report applies to the 3.6 alpha only. It's a known issue for sure, and I believe there is a fix pending.

Yes, this is 3.6 dev. I am starting early, since I am reworking some scores anyway. I thought reports might be helpful also in this phase. If not, let me know.

Status active closed

This was a known issue in the early 3.6 alpha version and solved the production version so I close this issue. Feel free to reopen if there is still an issue.

When looking at the score, it seems to me using the default of the Vertical Staves Adjustment gives a better result, especially the parameter Factor for distance between systems. In the score this parameter is set to 5.0. This results in extra space between the systems and leaves not enough free space to divide between the staves of the systems. This is visible in the first system where there is less space between the soprano and the alto, compared to the other spaces. The space between alto and tenor is defined by the "di-te" in the alto (measure 4) and the slur in the tenor, the space between tenor and bass is defined by "au-di-" in the tenor (measure 3) and the slur in the bass.
In the first step of the algorithm, it tries to make all gaps as equal as possible, taking the factors into account. So, when it tries to add extra space between soprano and alto, 5.0 time as much space is added between the systems. But the page is already nice filled, there isn't that much space left to divide over all the gaps. So the algorithm stops before it was able to do some work.
By reducing the Factor for distance between systems, there is more space available to divide over all gaps, resulting is better spread.

Fix version
3.6.0