bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SystemStart changes after stop/startStaff - how to get it back


From: Valentin Villenave
Subject: Re: SystemStart changes after stop/startStaff - how to get it back
Date: Sun, 12 Apr 2020 11:28:48 +0000

On 4/12/20, Thomas Morley <address@hidden> wrote:
> Hi,
> The SystemStartBrace vanishes after stop/startStaff.

Weird.  That’s definitely an unwanted behavior (in other words, a bug).

> consider the following code:
>
>
> mus = \new Staff { R1 \break R \stopStaff s \startStaff R \break R \break R
> }
>
> \new StaffGroup
>   \with {
>       systemStartDelimiterHierarchy =
>         #'(SystemStartBracket (SystemStartBrace a b c))
>   }
>   << \mus \mus \mus >>
>
>
> I'm at a loss here, it does not work out of the box for every version
> from 2.12.3 up to master.
>
> Any chance to get the additional SystemStartBrace back?

Your guess is as good as mine.  I wonder if it’s because the
\stopStaff triggers the engraver’s 'finalize' step, where the nesting_
list gets deleted:

// system-start-delimiter-engraver.cc

void
System_start_delimiter_engraver::finalize ()
{
  if (nesting_)
    {
      nesting_->set_bound (RIGHT,
                           unsmob<Grob> (get_property
("currentCommandColumn")));
      nesting_->set_nesting_support (0);

      delete nesting_;
    }
}

But I’m obviously talking out of my arse here.

Cheers,
V.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]