cross staff beam has wrong stem direction in imported v1.3 score

• Mar 12, 2015 - 13:28
S4 - Minor

This is related to #14784: Issues with cross-staff beams & slurs in imported 1.3 score

Open attached score in V2 beta2. It looks like this:

while it looks correctly in v1.3:


In the mscx the section for the first beam of the treble staff looks like this:

<Beam id="0">

while the third beam looks like:

<Beam id="2">

For the first beam there is no explicit value for SteamDirection. It seems to me, that in v1.3 the default value for StemDirection is calculated as if the notes where shown on their original staff. V2 however seems to base the default on the staff the notes are actually shown.

The slur misplacement might be due to a similar 'reference staff' problem.

Using d2a07a1 on Kubuntu 12.04

Attachment Size
CrossStaffBeamSlur.mscz 2.06 KB
OutputV2b2.png 17.15 KB
OutputV13.png 77.67 KB


There is also a difference in how 1.3 and 2.0 represent things in terms of how much is determiend by *stem* direction and how much is determined by *beam* direction. In 1.3, depending on how exactly you entered the notes, you could get the notes & beam represented either way. I think in 2.0 it's always beam direction, and that is the source of some discrpenacies even in cases that don't involve cross staff notation. That's off the top of my head...

I don't think it's a duplicate of #40391: Stem direction of cross-staff notes incorrect, because #40391 is about how MuseScore chooses the default stem direction when entering notes in multiple voices including cross staff notes. (Should stems always go in opposite direction?)

This issue, however, focuses on the different (graphical) results you get, when opening a v1.3 score in v2.