Lyrics on rests displayed a line too low
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
came up in https://musescore.org/en/node/280851
Adding a lyrics on a rest is possible since 3.0, but as soon as there is another lyrics on a note/chird in the same staff and system, the lyrics on rests move one line down.
Fix version
3.0.3
Comments
We calculate the lyric y position relative to the staff, but actually, the parent of the lyric is the chord or rest, so we need to account for the y position of the chordrest. Either that or force lyrics to be considered ON_STAFF, like staff text, and then update pagePos() and canvasPos() (and possibly other functions) to handle ON_STAFF elements with a parent of a chordrest. The first change is much less obtrusive.
https://github.com/musescore/MuseScore/pull/4687
Fixed in branch master, commit 958ecb434c
fix #280865: lyric attached to rest too low
Fixed in branch master, commit bb0b6ab747
_Merge pull request #4687 from MarcSabatella/280865-lyric-rest-y
fix #280865: lyric attached to rest too low_
Fixed in branch 3.0.x, commit 130a5088cc
_Merge pull request #4687 from MarcSabatella/280865-lyric-rest-y
fix #280865: lyric attached to rest too low_
Automatically closed -- issue fixed for 2 weeks with no activity.