REGRESSION: Slurs in tab staff with stems are badly centered
MuseScore 2.0.2 / Windows 7
For description, see the end of comment #15, and next, of this thread: #69846: Ties and slurs have a mirror effect by entering two voices in Tab/standard linked staves
For this result:
- I see a change there is a year on July 23 or end July 22, 2014.
Before (perfectly centered), with this Nightly: 6e0c119
After, with this one: 04d2ec7
I don't know very well where is the cause.
Maybe here? https://github.com/musescore/MuseScore/pull/1057/files
Or in other "style"? : https://github.com/musescore/MuseScore/commit/6bde76a036aa3c704b3ddd7db…
Comments
Great job, I think you've found it with your first guess :-). Miwarre: I'm happy for you to look at this, but it looks I broke it, so I don't mind fixing it either.
@Marc Sabatella: maybe it is the occasion for me to regain some familiarity with this part of the code which I am not looking at since long...
Pull Request with fix pushed to github: https://github.com/musescore/MuseScore/pull/2182
I tested all the combinations of slurs with stems below, above or none with multiple voices or not and it seems to be correct. "Real life" is always more complex than lab tests, though, and that code section is rather critical. So, the more eyes the better!
M.
My understanding of the code remaining approximate, I wanted to know if this PR reiterates by fixing the previous behavior, ie with the slurs "stem-side", or is it introduces a new display, ie with slurs "note head-side", as explained and illustrated by images in the comment # 25 of this thread: https://musescore.org/en/node/69846
Thanks.
The PR takes to the letter the issue described here, so it "just" centres correctly the slurs horizontally, without moving them vertically.
The point about note-head-side vs. stem-side vertical position did not reach a definite status in the thread you quote. It may be the subject of a new specific request, though.
Fixed in branch master, commit 0da8b11efc
Fix #70906 - TAB: slurs between stems not centred
__References__: issue https://musescore.org/en/node/70906 and _passim_ issue https://musescore.org/en/node/69846
In TABs, when slurs are placed between stems (as opposed to slurs on note head side), they are not perfectly centred.
This may happen for instance in tabs with stems beside staff and more than one voice.
Fixed in branch master, commit 7912332028
Merge pull request #2182 from mgavioli/Fix_#70906_TAB_slur_centring
Fix #70906 - TAB: slurs between stems not centred
Fixed in branch 2.0.3, commit 4be429b80c
Fix #70906 - TAB: slurs between stems not centred
__References__: issue https://musescore.org/en/node/70906 and _passim_ issue https://musescore.org/en/node/69846
In TABs, when slurs are placed between stems (as opposed to slurs on note head side), they are not perfectly centred.
This may happen for instance in tabs with stems beside staff and more than one voice.
Automatically closed -- issue fixed for 2 weeks with no activity.