Articulations incorrectly placed for beamed notes where stem direction differs from default beam direction
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
As mentioned in https://musescore.org/en/node/108786#comment-490811 the staccato dots seem to follow the default stem direction of unbeamned notes and ignore the changed stem direction due to (default) beaming.
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:
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.
Elwin, I mean code-wise.
Oh, okay. I looked at what you linked and I couldn't understand it. (I can not read code).
Duplicate #117776: Stacatto appearing on wrong side of note head
As pointed above, it's a duplicate. The latest build works correct with articulations placement.
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
In reply to So now we have to duplicates… by Jojo-Schmitz
Yes, thank you. The last page with forgotten issues left :)
so you're seeing the light at the end of the long tunnel? And it is not a train approaching?
In reply to so you're seeing the light… by Jojo-Schmitz
Well, I see the activity around the updated issues, it is cool. 5 more pages with feature requests and I will start the development on a full speed, I hope.
Automatically closed -- issue fixed for 2 weeks with no activity.