[Bug] Wavy Glissando lines overlap notes when spacing becomes tight

Hi there!

I believe that I have found a bug in the layout (or engraving?) engine of Dorico. I can reproduce this in both Dorico 5 and 6, and it can be reproduced with a brand new document, with the only modification being switching to Finale Jazz.

In short: “Wavy” glissando lines do not correctly shorten themselves when notes become closely pushed together for spacing reasons. The result is that the glissando line overlaps the second note of the pair by some considerable amount. (See attached picture and Dorico project).

This can be mitigated by changing the Engraving Option “Glissando Lines > Spacing > Minimum horizontal span for glissando lines” from the default of 3 spaces to 5 spaces. This, however, is not an acceptable solution, as it drastically increases the space between notes which are joined by a glissando.

Note that this does not affect the “straight” glissando line, which correctly is correctly when space constrained.

Is this a known bug, and if not, where (and how) should I report it properly? If it is not a bug, but intended, is there a better way to work around the issue?

Cheers,
Adam

Plain Reproducer.dorico (1.5 MB)

Discussion of the same bug in another forum:

https://www.facebook.com/groups/dorico/permalink/4122069021404152/

Following some experimentation suggested by the Facebook page, I’ve stumbled across something interesting: The spacing seems almost perfect for the “Grace” scale of the “Wavy” gliss line. It seems somewhat Goldilocks-esque: The spacing for “Normal” and “Cue” is not enough (it overlaps the note), the spacing for “Cue Grace” is too big (the line “hugs” the left hand note, and doesn’t come close to the right hand note), but the spacing for “Grace” seems just right!

In other words, I wonder if there’s a set of spacing constants that have been used for the wavy gliss element (if that’s the right word?) that are tuned for “Grace”, but have been incorrectly applied to the “Normal” scale? If so, it should be a fairly easy fix to make!

Attached is an example, in order “Normal”, “Cue”, “Grace” and “Cue Grace”, along with source dorico file.

Plain Reproducer.dorico (1.5 MB)