Vertical spacing is broken when \change Staff and \showStaffSwitch on \pageBreak

Zbyněk Burget via bug-lilypond <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
Hi,
here is example of this bug:

\version "2.24.3"

\score {
   <<
     \new StaffGroup
     <<
       \new Staff \relative c''{ \clef treble c1 | \pageBreak c1 }
       \new Staff \relative c'{ \clef treble c1 | c1 }
     >>
     \new StaffGroup
     <<
       \new Staff \relative c'' { \clef treble c1 | c1 }
       \new Staff \relative c' { \clef treble c1 | c1 }
       \new Staff \relative c' { \clef treble c1 | c1 }
       \new Staff \relative c' { \clef alto c1 | c1 }
       \new Staff \relative c' { \clef alto c1 | c1 }
       \new Staff \relative c { \clef bass c1 | c1 }
     >>
     \new StaffGroup
     <<
       \new Staff \relative c'' { \clef treble c1 | c1 }
       \new Staff \relative c' { \clef treble c1 | c1 }
       \new Staff \relative c' { \clef treble c1 | c1 }
       \new Staff \relative c' { \clef alto c1 | c1 }
       \new Staff \relative c' { \clef alto c1 | c1 }
       \new Staff \relative c { \clef bass c1 | c1 }
     >>
     \new PianoStaff
     <<
       \new Staff = "1" <<
         \new Voice \relative c'' { \voiceOne \clef treble c1 | c1 }
         \new Voice\relative e' { \voiceTwo e1 | e1 }
       >> \new Staff = "2" <<
         \new Voice \relative c' { \voiceOne \clef bass c1 | \showStaffSwitch \change Staff = "1" c1 }
         \new Voice \relative c { \voiceTwo c1 | c1}
       >>
     >>

   >>
}



The problem occurs only if the \showStaffSwitch command is found.



-- 
Zbyněk Burget
Mlýnská 397
798 26 Nezamyslice

tel: 588 580 000, 739 930 931
http://www.burgnet.cz
IČ:  606 88 220; DIČ: CZ7210184674
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.