Hairpin with dynamics at the end is too short
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.