String number under slur interferes with slur.
Reported version
3.4
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
1) Create a simple score with 4 notes.
2) Create a slur of all 4 notes.
3) Select a note.
4) Drag a String Number from the Fingering Palette to a note.
Result:
Expected result:
After a relayout, e.g. adding or moving an element, the layout changes and the expected result is shown.
When the file is saved and reloaded the slur is again to low. This is the same as in issue #297501: Layout shift of slur after reload.
Fix version
3.5.0
Comments
I'm working at this issue, PR is coming up.
See https://github.com/musescore/MuseScore/pull/5812
Fixed in branch master, commit 8f1d51af2a
_fix #302316, fix #297501 - slurs and fingering
When a score, containing a fingering under a slur is loaded, the slur crosses the fingering.
Only after a relayout the slur is drawn higher so it won't intersect the fingering (issue
The root cause of this issue is the shapes of the fingering elements where not available
when the bezier of the slur is calculated. The fingering shapes are calculated after the
slur bezier is calculated. This explains why a relayout will solve the issue, then the
fingering shapes are available. The shapes are calculated during the calculation of the
note shapes but there was no call the fingering layout() method, making the bbox of
the fingering shape invalid and therefor it is not added.
This issue is solved by, in Score::layoutSystemElements(), calling the
Segment::createShapes() when layouting the fingering elements.
This solution also solves #302316 which also requires a relayout after a String Fingering
is added to note under a slur._
Fixed in branch master, commit f214cd1535
_Merge pull request #5812 from njvdberg/issue-302316-slur-shift
fix #302316, fix #297501 - slurs and fingering_
Automatically closed -- issue fixed for 2 weeks with no activity.