Slurs. Incorrect cross-staff auto placement in the grand staff
Issue type
Engraving bug (incorrect score rendering)
Bug description
I tried to identify the problematic cases in the video attached below. Of the main problems, I want to highlight the following:
- When trying to combine notes on different staffs with a slurs, in some places, when choosing to display the slur "below the staff", this slur literally goes under the staff, and does not reach the note to which it is brought (this can be seen in the video)
- In some places, the slur crosses beams and accidentals, which should not be the case
- When connecting notes from the bottom to the top of the staff, the slur ends in front of the flag. In this case, it would be more logical to use a different display option, which I will describe below.
- In some cases, the slurs extend too far beyond the group of covered noteheads in the grand staff and at the same time cross the vocal text (if any). In some way, this is related to the #21782.
Steps to reproduce
Screenshots/Screen recordings
https://github.com/musescore/MuseScore/assets/134041121/cf47e4d0-76e9-410d-aaeb-61e3391af1fb
- the slurs extend too far beyond the staff:
MuseScore Version
MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433
Regression
I don't know
Operating system
Windows 11
Additional context
When transferring a voice from one staff to another, the notation shown below would be perfect:
I also note that the slur should be able to combine notes as follows:
Currently, Musescore cannot do this.
@oktophonie pls triage as you see fit :-)
Some more example:
Observe as:
- the slur of the RH-voice 2 (green) crosses the LH-voice 1 (purple) when pushed to the RH staff,
- the slur of the LH-voice 1 (purple) doesn't follow the notes pushed to the RH staff