Ornament sound events: wrong articulation
Context any stable or unstable version since at least 2.0.1
When the sound events for a note with an ornament are created, the required separation from the following event (articulation: either the default instrument articulation or the one depending on articulation signs) is applied to each event making the note up, rather than to the note as whole.
As a result:
1) each ornament sound event is played non-legato
2) the note as a whole receives an articulation which depends on the duration of its last event rather than on its entire duration.
Here, the note with the trill is selcted and the default instrument articulation is in effect (95%). As it is shown by the piano roll:
1) each event making the trill up is shortened by its 95% (while ornaments are played legato in the great great majority of cases) and
2) the note as a whole is shortened by the 95% of its last event and not by the 95% of its total duration, as it should.
By contrast, a more correct general articulation could be (screen shot coming from a fix I am working on):
where the ornament (sub-)events are legato and the whole note is shortened by its 95%.