Hairpin with dynamics at the end is too short

• Aug 4, 2019 - 09:39
Reported version
3.2
Priority
P2 - Medium
Type
Functional
Frequency
Few
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

1) Create any score
2) Add a full-length note at the final measure (such as a whole note in 4/4)
3) Add a hairpin. The hairpin extends to the final barline
4) Add a dynamic to the note. The hairpin shortens to a minimum length. The expected result would be that it extended to the full note.

The attached score shows an example where it is evident that the problem appears in the last measure, it cannot be reproduced with a double barline elsewhere in the score, not even after a section break. The issue doesn't show if the note doesn't last through the end of the last measure. It seems to be related to autoplacement.

Workaround: disable autoplacement and move the hairpin's end manually. However, it is difficult to get an even presentation if the dynamic and hairpin happen to be required on several staves.


Comments

I assume it's related to the code to extend the hairpin to the next dynamic, maybe even to the code I added fairly recently to not do this is there is already an end dynamic on the hairpin.

Fix version
3.3.0