Glissandos add too much space between chords

• Sep 17, 2020 - 17:19
Reported version
3.5
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.5.0.13199, revision: 43c5553

Open the attached file. Inspect the glissandos marked A, B, C, D.
glissando_a.png glissando_b.png glissando_c.png glissando_d.png

IMV, it should be possible to insert glissandos without adding any more space between the notes than in example A. And, there is no reason to add more space for two glissandos (D) than for one (B, C).

It appears that, when adding glissandos, the program adds space automatically between the chords, regardless of whether the existing space is sufficient.

Attachment Size
glissandos.mscz 15.67 KB

Comments

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.5.2.311459983, revision: 465e7b6

Open the attached score. Select mm 1-4 and press Shift + { (decrease layout stretch) once. This will bring mm 1-4 into one system.

Expected result: The slides in both measures should be of even length.
Actual result: The slides in measure 3 are much shorter than those in measure 4.

See also, #312233: Glissandos: Add a "Minimum length" style setting.

Attachment Size
glissando_layout.mscz 17.63 KB

I'm guessing this happens for reasons similar to why adding an accidental will add space whether necessary or not - these affect the minimum size required for each measure, and that is our start point for further stretch. Ultimately we need the stretch algorithm to know the difference between the minimum size based just on the notes and their durations versus the amount of extra space required to fit additional markings between notes, and to take this into account when stretching the measures. See also #289446: Unnecessary extra horizontal space added when adding accidentals or dots.

That said glissandi are handled a bit specially, so so I won't mark this as a duplicate because there may well be other things going on here.