Grace notes collide with multi-voice accidentals

• Aug 11, 2014 - 14:33
S4 - Minor

1. Open attached score (produced in 1.3).

Result: The grace notes collide with accidentals of the other voice.

Grace notes collide with multi-voice accidentals.png

Note: Also trying flipping the grace note.

Using MuseScore 2.0 Nightly Build (3a4f0bc) - Mac 10.7.5.


Solving this in the general case - arbitrary combinations of grace notes, accidentals, and voices - is beyond the scope of anything we can do without major changes to layout. The easy fix for this case would be to implement the same rule 1.3 appears to be trying to follow: grace notes have to clear *all* chords on that beat for that staff. This would improve the grace notes in this example. But then consider, if the first grace note were say an octave above where it is, or the second an octave below, it could have been "tucked in" much as would happen for accidentals. Or for that matter, if the two main notes themselves were an octave apart instead of close enough. In these cases, the current behavior is actually preferable.

A full fix for all of these cases is, again, beyond the scope of what I think worth doing at this point. So we have to pick what kind of manual adjustments we wish to make. I'm not completely convinced it's worth the trouble to fix these two particular cases at the expense of the others, but let me think about it. So far, as I've given the matter some thought, my inclination is to leave this alone and let grace notes continue to not be aware of other voices, as the more predictable default to use as a starting point for manual adjustments when necessary.