clef change in one staff adds unnecessary spacing in other staves

• Mar 7, 2019 - 16:13
Reported version
3.x-dev
Type
Functional
Frequency
Many
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
Yes
Workaround
No
Project

Clefs added to one staff should not cause extra spacing in other staves. Observe the following music as it appears in MuseScore 3:

clef_spacing_ms3.png

The clef changes in the left hand staff cause huge, ugly gaps between the right hand notes. This problem wasn't nearly as bad in MuseScore 2, though it's still not perfect:

clef_spacing_ms2.png

Here is a screenshot from Finale, as an example of how it should look:

clef_spacing_finale.png

Here, you can see no spacing impact in the right hand as a result of the left hand clefs, except where necessary to maintain vertical beat alignment between the staves.

MuseScore files of these examples are attached.

OS: KDE neon User Edition 5.15, Arch.: x86_64, MuseScore version (64-bit): 3.1.0.21259, revision: c2d3822

Attachment Size
clef_spacing_ms3.mscz 5.89 KB
clef_spacing_ms2.mscz 6.14 KB

Comments

Workaround Yes No

I disagree that local relayout is a workaround. It doesn't do anything to help the added space at the end of beats 1 and 4, and beats 3 and 4 still take up more horizontal space than they should. Trying to reduce "leading space" on the clef is of no use either.

(I thought I had responded but don't see it, apologies if there ends up being a duplicate)

This seems related to https://musescore.org/en/node/281024#comment-897040 - elements that should be able to overlap each other because there is no actual collision, are not. I am fairly sure this was once working much better, not sure when that changed.

Meanwhile, I think it should be the case that disabling autoplace for the clef would remove it from the calculation. This isn't the case now, but I will look into making that happen as part of my PR for #278999: Need option to completely disable Auto Placement