Staff lines do not extend to key/time signature after last bar line

Johannes Feulner <[email protected]> Fri, 11 Oct 2024 16:40:50 +0200
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <[email protected]>
If a key or time signature appears at the very end of a voice, right 
after a barline the staff lines do not extend beyond that barline. The 
key or time signature seems to be floating in empty space. Doesn't look 
nice.

Earlier versions of LilyPond up to 2.19.15 looked fine though.

score:

    \version "2.16.0"

    { g'1 \key f \major }

undesired output since version 2.19.16:

desired output as of versions 2.19.15 and before (also tested on 2.16, 
2.18):

-- 
Johannes Feulner
Tel: +49 721 [email protected]

scorio WebMusic
Bonhoefferweg 3  76327 Pfinztal Germany
Inhaber Johannes Feulner