Multiple articulations on a single note possible

• Sep 21, 2018 - 17:35
Reported version
3.0
Type
Functional
Severity
S4 - Minor
Status
closed
Project

I found this on the Sforzato, so I'll use it as an example.

To see this bug

Enter a note
press shift+v
press shift+v as many times as you like

Result: a Sforzato (<) is added for each shift+v pressed
Expected: Sforzato toggle on and off for each shift+v pressed.

or
Enter a note
double click the Sforzato in the Articulations palette.
Select the note (since the Sforzato is now selected) double click the Sforzato in the Aritulations palette again
Result: two sforzatos are added to the note
Expected: only one sforzato is added to the note, subsequent double clicks do nothing.

Note: the same thing happens on other articulations. In the case of staccato, the dots are stacked on top of each other. You can tell this by clicking a staccato and pressing delete and see there is another staccato there. I have only tested sforzato, marcato and staccato which all have default shortcuts.


Comments

Hi, i tried this in the last dev build for linux and the bug only happens with notes that are below the middle g on the staff, notes higher than that work correctly.

Status (old) active patch (code needs review)
Status active  

It has more to do with the direction of the stem, or whether or not the articulation has been flipped, or whether or not there are multiple voices, but yes, it works when the articulation is above the note, and it fails when the articulation is below the note. Patch is here: https://github.com/musescore/MuseScore/pull/4024.