Lyric meslima line incorrectly laid out in parts
Ubuntu 14.04, GIT commit: 3f842fb
1) load attached score
2) generate parts
3) view part
Result: melisma line extends backwards
It seems the issue is that the melisma line (the actual Line object) is cloned to the part, but still the clone is still parented to the copy of the lyric in the score. Thus the layout calculations are off.
I find I can fix it in the copy constructor for the Lyric element by simply not cloning the separator list at all. This forces them to be regenerated on first layout. Or, I can re-parent the searators during the copy. Either way works. But I guess there is a chance this is going to be re-implemented (to use SLine) at some point soon anyhow.
Attachment | Size |
---|---|
melisma-part-2.mscz | 3.71 KB |
Comments
Here's a PR that skips the copy, although I left the copy code in place, ifdef'ed out, and fixed to re-parent:
https://github.com/musescore/MuseScore/pull/1554
We could either use my PR as is, or remove the ifdef, or wait for the new melisma implementation (but this particular bug seems worth fixing for Beta 2 even if the new melisma implementation is not going to happen).
Fixed in b1eed65018
Automatically closed -- issue fixed for 2 weeks with no activity.