Fret diagram in staff > 0 are offsetting slurs and ties

• Jun 2, 2014 - 22:28
Type
Functional
Severity
S4 - Minor
Status
closed
Project

MuseScore 7b9c01d407

Create a score with 3 flutes
Add two tied notes in staff 3
Add a fret diagram on staff 3


Comments

I was hoping this would turn out to be a simple matter of distanceUp being ignored somewhere that it needed to be accounted for. Unfortunately, I think the problem is deeper. At the moment the spanners are laid out, it appears that distanceUp has not been set yet, as System::layout2() has not been called yet. So it seems the order of operations would need to be changed to fix this.

I wonder, though - it works fine for lyrics, which also allocate extra space. I wonder if fret diagrams couldn't be modified to use the same mechanism?

I should also mention that while the feature of automatically adding space for fret diagrams is nice, and eventually it would be good to have this option for chord symbols as well, I'd personally be fine with pulling this out for even for fret diagrams for 2.0 if fixing the issue turns out to be too risky. The ability to easily add extra space for a staff score-wide (ie, just drag the staff down) means that the need for an automatic facility is greatly reduced. The main reason to still want the automatic facility is for cases where only some fret diagrams are present only on some systems. In which cases, spacers can work, but depending on how many systems we are talking about, it could be a drag (sorry for bad pun).

Status (old) fixed active

Ties are good now, slurs and other spanners still not. Although actually, while you're in edit mode on a slur or other spanner and are changing the anchor points with Shift+Left/Right, they position correctly. Maybe that's a clue to a fix? But they snap back up too high on the first layout after you are done editing.