Wrong vertical position for trills with endpoints on last note of measure
Ubuntu Studio 14.04, GIT commit: e176e25
See http://musescore.org/en/node/28761#comment-117561 and http://musescore.org/en/node/28761#comment-120101 (comments 5 and 7 in #28761: Lengthening note before a line produces incorrect results).
The bug with lengthening a note is fixed, but the incorrect layout for some spanners - which seemsto be separate issues - remain.
For trills:
1) new score
2) fill first few measures with quarter notes
3) add trill to first quarter note
4) double click
5) shfit+right repeatedly
Result: when the end point reaches the last note of the measure, the trill jumps higher. Extend again into next measure and it returns to normal. But on reaching the last note of the measure, it jumps higher again.
Same thing happens if you now shift+left to shrink the trill again - every time the anchor hits the last note of a measure, it jumps higher.
Comments
I think the problem comes here:
https://github.com/musescore/MuseScore/blob/e8065bba8d219694ffa11d7c253…
An adjustment is being to the length of the trill, and this requires (?) a call to ls->layout(), but the slur has already been laid out, and adjustReadPos() already called. So now we are reapplying the default trill height.
That's as far as I feel comfortable taking this right now.
This will be fixed by https://github.com/musescore/MuseScore/pull/1188/
Automatically closed -- issue fixed for 2 weeks with no activity.