MuseScore
MuseScore copied to clipboard
[MU4 Issue] Clefs overlap beams
Describe the bug A clef in the middle of a beam will overlap it by default.
To Reproduce Steps to reproduce the behavior:
- Starting with a new piano score...
- Add four eighth notes: G5, G5, G6, G6.
- Place a "treble clef 8va alta" in the middle.
- The beam overlaps the clef.
Expected behavior I think it would look better if the beam was automatically moved above or below the staff.
Screenshots
Current behavior:
Manually adjusted to look better:

Platform information
- OS: Ubuntu Linux (KDE Neon)
- Tested with:
MuseScoreNightly-223510506-4.0_rc-5485621-x86_64.AppImage
Additional context This behavior was the same in MuseScore 3, so it's not a regression at least.
I'm not sure if minor subjective details like this are actually worth opening issues for, but I figured I might as well since there's been so much effort put into spacing and layout improvements lately.
Flipping the beam would be a last resort here.
If a beam crosses an unmovable item (clef, time sig, key sig etc) there are two main solutions:
- move the beam up/down to avoid the object
- break ('white out') the beam as it crosses the object
I tend to prefer the latter since in a situation like this it avoids inconsistency:
and also because, if one doesn't like this result, it's easier to move the beam out of the way (or flip it) than it would be to manually move the beam to its proper default position if it had been automatically moved.
Conversely, here's an example where you'd almost certainly move the beam out of the way:

Came up again in https://musescore.org/en/node/363257