Wrong tie direction in chords related to the pitch of two adjacent strings in Tabs
1d7f1af / Windows7
Related I think to these former issues: #29236: Tie direction for chords on tab staves non-deterministic?, and maybe (less sure) #30631: Improper layout of tablature ties
Came again in this file posted today: https://musescore.com/user/385716/scores/1768271
The file downloaded : Im_Crying_Just_For_You_-_James_V._Monaco_1885_-_1945(1).mscz
Focus on the uke tab : ties intersect constantly :(
Basically : the problem arises when the lower string (tab line) is changed and exceeds the pitch of the adjacent upper string.
When the pitch is changed intentionally. Or, by default, when the instrument has a reentrant tuning, as the ukulele: https://en.wikipedia.org/wiki/Reentrant_tuning
So, for reproduce :
1) New score (Tab) for ukulele, or load this file: uke test.mscz
2) Enter two chords (two notes) X 2 on the strings 3 and 4. Like this:
(note in comparison the pitch of these strings in the String Data: C4/G4)
3) Select the first chord → press « + »
Expected result :
Actual result : the ties intersect
4) Now, in the String Data, edit the fourth string (G4 to B3 – if you choose C4, a tie only appears), or load the file at this step : uke test new pitch.mscz
5) Repeat exactly the steps #2 et #3
Result : correct (as expected)
Comments
This does seem like what I was seeing in #29236: Tie direction for chords on tab staves non-deterministic?. Certainly the symptom seems similar, although I doubt I was changing the tuning, so if the problem fixed itself for me, it must have been for a different reason. Thanks for steps to reproduce at leats one case of this!
Also, is it just me, or is the note input cursor ignoring the staff scaling here? That is, the ukulele staff is marked "Small", but the when you move the note input cursor up and down from string to string, it moves too far, as if the staff were full size. Seems unlikely that this would be a recently introduced bug, but I'm surprised no one has pointed it out that I can recall.
"Also, is it just me, or is the note input cursor ignoring the staff scaling here? That is, the ukulele staff is marked "Small", but the when you move the note input cursor up and down from string to string, it moves too far, as if the staff were full size"
Exact. Same behaviour here.
EDIT: issue filed: #98826: In Tabs, the note input cursor ignores the staff scaling
Came up again in: https://musescore.org/en/node/308375
Workaround: flip the ties manually
https://github.com/musescore/MuseScore/pull/6442
This should fix this problem and similar ones
Fixed in branch master, commit 0634a0fa74
fix #98816 and #117351 - decouple tie direction from _notes order, and compare strings (not lines) in tabs
Needed for 3.x too I think
See https://github.com/musescore/MuseScore/pull/6889
Fixed in branch 3.x, commit c6feb74d98
Fix #98816 and fix #117351: Decouple tie direction from _notes order, and compare strings (not lines) in tabs
Automatically closed -- issue fixed for 2 weeks with no activity.