Hide system staff makes Lyrics and music collide.

• Jan 8, 2012 - 10:19
Type
Functional
Severity
S4 - Minor
Status
closed
Project

In this score, the 3 last systems contain only the first staff and lyrics. If you "hide empty staff", the lyrics verse collides with the music.

Ugly workaround: using frames to do the spacing

First reported : http://musescore.org/en/node/14351


Comments

Looking into this, I see the relevant calculation seems to be here:

https://github.com/musescore/MuseScore/blob/47b49091a2e24f707cb1977c9ad…

I believe we need to adjust systemHeight if lastIdx < nstaves - 1, the trick is getting the value right. If someone wants to jump in, be my guest, otherwise I may try.

BTW, this is also the same basic problem as #12089: Spacer on bottom visible staff of system with hidden staves should act as a system spacer. distanceDown is distanceDown, whether is comes form a spacer or from lyrics. Would be great to nail both of these at once!

Oh, and I guess the same issues exist for spaces up and for fret diagrams.