Start repeat barline collides with key signature

• Oct 5, 2014 - 21:17
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Start repeat barline collides with key signature if there are different transposing instruments and continous barlines.

1 Create a new score for Bb trumpet and trombone
2 Place a start repeat barline at beginning of a new line
3 Stretch barlines over both systems

--> Start repeat barline collides with key signature of the trombone (has always 2 flats more)
(but will be placed correctly if all barlines are single again)


Comments

Problem appears to be with the calculation of the width of the key signature segment. It's correct - a little wider than the widest key signature - if the start repeat barline does not span multiple staves. But the segment is only a little wider than the *first* key signature when a start repeat barline spans multiple staves.

A possibly related point, but likely a separate bug: a start repeat at the beginning of a system that begins with an mmrest is too close to the key signatures, whether or not the start repeat spans multiple staves or whether there are different key signatures between staves.

As a kludge I can change manually the right space of the key segment - provided in the inspector.
(this does fortunatelly not affect linked parts - if there are any defined)

But better the program could calculate the widest key segment existing.
Consider that different keys can be up to 3 accidentals - in case of Eb-Instruments.