Jean Abou Samra <[email protected]> writes:

> Le 05/11/2021 à 18:06, Knute Snortum a écrit :
>> I think I have found a bug, or at least an "ugly" behavior.  Consider
>> the following code:
>>
>> %%%
>> \version "2.22.1"
>>
>> rightHand = \relative {
>>    \tempo "Allegro"
>>    a'''16->-4( g f c  a g f c  a g f c  \change Staff = "lower" a g f c) |
>> }
>>
>> leftHand = \relative {
>>    \clef bass
>>    f,1 |
>> }
>>
>> \new PianoStaff <<
>>    \new Staff = "upper" \rightHand
>>    \new Staff = "lower" \leftHand
>> %%%
>>
>> (see attached picture)
>>
>> The metronome mark is aligned too low and collides with the accent
>> mark and the fingering number. Take out the slur and everything's
>> okay.  Same with the staff change.
>>
>> So two questions:  1) is a bug?
>
>
> Yes. It's somewhat like
> https://gitlab.com/lilypond/lilypond/-/issues/4432,
> and somewhat different at the same time.
> I'm not adding it to the tracker because
> we already have many similar bugs and it
> is amply clear by now that cross-staff handling
> will need a complete overhauling and not
> just localized fixes.

I think one change should be that cross-staff needs to be more than a
flag.  It rather needs to be a pair of staves identified in some manner
where distancing of any staff pairs in that interval will not involve
the cross-staff material, but it otherwise will contribute to the
outlines and dimensions, and particularly to the distancing from staves
outside of the cross-staffed interval.

-- 
David Kastrup

Reply via email to