Misaligned repeat structure?

This score displays and playbacks everything it should. But there was a lot of problems, which I hunted with the help of proofreading. There remains 2 “Repeat structures do not aligns”. Using galley view, this has some confirmation:

This suggests that bars from 88 are considered to be inside a repeat structure, which they are not. The problem might be related to the ossia staff. The original problems were about some gohsts ossias.

Here is the score:

FingerGround6bY.dorico (1.6 MB)

Thank you for looking at it :slight_smile:

I was not able to determine the cause of this strange behaviour, but the following steps appear to “fix” the problem.
Warning: Try this on a copy of the file first to make sure that it does not introduce any other unwanted problems.

( I would recommend enabling Layout Options > Players > Bar Rests and Multi-bar Rests > Show rests in empty bars. This can be reverted later on )

  1. Select and copy all the notes in bars 87 to 92

  2. Select the barline at the end of bar 86, press shift-B, enter -4, then press Enter

  3. Select the barline at the end of bar 86, press shift-B, enter 4, then press Enter

  4. Activate the caret at the start of bar 87 (shift-N or double-click) and do Paste

Good sleuthing. I too was unable to find the source of the problem.

Yes, whatever it is, it appears to be hidden from view.

I was wondering if there were some local/independent artifacts that might affect the curious bar numbering… but have failed to locate any.

Same here, but when I tried the steps I described earlier, but only removing and replacing the two bars 88(90) and 89(91), the double bar numbering extended right back to the very start.

Well done :slightly_smiling_face: !
Is it possible that at some time, some damage was done in the ossia staff, maybe it got truncated, so the repeat structure (or its ghost :slight_smile: ) at the end appeared to be displaced and that polluted those 4 bars for the “real” staves, so that those bars seemed to be inside the repeat structure?

An even simpler procedure:

  1. Use the System Track to select all the notes in bars 87 to 92
  2. Cut
  3. Double-click at the start of bar 87
  4. Paste

Another even simpler procedure:

  1. Use the System Track to select all the notes in bars 87 to 92
  2. Edit > Filter > Time Signatures
  3. Delete

Very interesting. I had a different problem in another short score. 2 staves, the first (Galoubet by name) was “suspect” of having an extra staff. There was an -1 Staff signpost on bar 2. When I deleted it staff visibility still listed Galoubet a and Galoubet b, but never showed me the b. And proofreading complained of a Galoubet extra staff having a problematic Time Signature in bar 2.

Well I played your trick above: I used the System Track to select everything in Bar 2, filtered for Time Signatures, hit Delete. Proofreading stopped complaining :slightly_smiling_face: !

Obviously, ghosts of some items (Time Signatures at least) may go on “living” in a continuum invisible to use (the users) and annoy us, but now we know how to exorcise then :slightly_smiling_face: !

Thank you very much!