End bar line not applied if last bar appended

• Sep 9, 2018 - 01:56

4 bars repeated at the end of a piece.
Append another bar for a 2nd ending.

End bar line not applied if last bar appended


Comments

In version 2.3.2 it doesn't matter what the final bar line in the score is, the measures (bars) are appended to the end of the score with a single bar line at the end.

In reply to by mike320

Well, no, if the barline of the last measure is "final" (as it is by default), then as you append bars, the old final barline is removed and applied to the new last measure. Which is to say, in the default case, MuseScore assumes you want the last measure to have a final barline even as you add more measures. But in all other cases, you just get a standard single barline. Which is to say, if you've customized the barline of the last measure, MuseScore stops assuming it knows what you want.

I'm kind of ambivalent about this. The reasons I might add measures to my piece after having already customized barlines are many, and there really is no particular guarantee I want a final barline on the new last measure if I didn't have on on the previous one. I could see why this might be somewhat more likely in the case of an end repeat than for, say, a plain double bar, or a dotted barline, but actually it's just as likely I want that end repeat moved to the end just as would have been the case for the final barline. Which is to say, this strikes me as a case where no matter what we guess, it's as likely to be wrong as right, and no matter what we do, half the time you're going to need to change it.

In reply to by mike320

Not sure what you mean. If the barline on the last measure is a final barline - whether placed there on score creatyion or something you placed there later), appended measures do inherit that final barline (and it is removed from the old last measure). No doubt there are sequences of oeprations that might mark the final barline as "custom" in some way and thus this might be defeated, but in the general case, final barline on last measure means appended measures will take that final barline instead.

Try:

1) new score
2) select last measure
3) double-click end repeat (thus replacing final barline)
4) double-click final barline (thus replacing end repeat)
5) Ctrl+B

Result: appended measure gets the final barline

In reply to by Marc Sabatella

I'm not able to reproduce it from scratch after a quick try. But the score I was working on at the time this was posted had several section breaks, internal repeats and invisible instruments. I changed the end bar line to a repeat to verify the issue. I then undid the append measures, changed the final bar line to and end bar line and had the same issue with measures being added after the final bar line.

In reply to by Jojo-Schmitz

This may work, but I didn't use the inspector to change the bar line type. I dragged the bar line to the measure. Now I remember, I decided to keep the extra measures and make the end bar line in the middle of the empty measures a normal bar line. When I selected and deleted the bar line, only the staves connected reverted to the normal bar line, all of the rest remained end bar lines. I resorted to deleting the measures before and after the bar line to ensure the wrong bar line was gone. As I said, there are invisible staves, so I'm not surprised, I've seen a similar bug before, but haven't gotten into the details of reproducing it.

In reply to by Marc Sabatella

Yes, as I said, no doubt there is some series of operations that can get a score into a state where what appears to be an ordinary final barline is no longer recognized as automatic - probably something involving a custom span properties applied via Inspector. Would be interesting to see how to reproduce this from scratch.

In reply to by Marc Sabatella

I don't use the inspector to change the span of bar lines. I make sure all of the affected staves are visible, double click and drag the bar line to the proper systems. The only time I ever use the inspector is when I'm doing chants, which is extremely rare and not in this score.

Do you still have an unanswered question? Please log in first to post your question.