Articulations incorrectly placed for beamed notes where stem direction differs from default beam direction

• Apr 30, 2016 - 03:00
Reported version
3.0
Type
Functional
Severity
S4 - Minor
Status
closed
Project

So, I posted in the nightly build section of the forum.
https://musescore.org/en/node/108786#comment-491601

This is a bug in the staccato feature program of the nightly builds. When I selected an entire section, (the blue box surrounding all measures) then I double click the staccato, some ended up in the same direction as the stem. (If the stem is up, the staccato dot is above the note head).


Comments

Title A bug in the Staccato selection. Articulations incorrectly placed for beamed notes where stem direction differs from default beam direction

The issue is the same for other aritculations, and it has nothing to do with how the selection is made. Beamed notes where the beam direction differs from the default stem direction will get the wrong placement. So in the following example, the staccato dot on the "A" is incorrect ut the dot on the "B" is correct, because the default stem direction for the "A" is up but the beam is down:

articulation-misplaced.png

I can actually force it the be displayed correctly by explicitly setting the stem direction of the "A" to "Down" as opposed to leaving it as auto.

So, preusmably a matter of the code not correctly managing the difference betwene beam and stem directions.

I think the problem is that the beams are created after the articulations have been laid out.

See 44670ac
This seems to fix the problem, but I'm not sure if this is a good solution.

When I tried it, I inputed the notes first and then I used the "double click" function to put staccato on all notes. That's when it happened.

Status (old) duplicate fixed

So now we have to duplicates of one another? Guess you ment to mark this here fixed, the other has been marked as a duplicate already