Play repeats in jump mode don't work with appended bars and segno at an end-start repeat barline
I've noticed that the "play repeats" jump toggle will not work when in a particular scenario. Where there are bars after the jump and the jump starts at an "end-start repeat" barline.
I've uploaded an example that I'd expect to play the bars in the following order:
- 1, 1
- 2, 2
- 3
- 2, 2
- 3
- 4
Instead, the order is:
- 1, 1
- 2, 2
- 3
- 2
- 3
- 4
Attachment | Size |
---|---|
Test_D.S._con_rep..mscz | 3.93 KB |
Comments
Seems a bug to me. @jeetee ?
In reply to Seems a bug to me. @jeetee ? by Jojo-Schmitz
Workaround?
In reply to Seems a bug to me. @jeetee ? by Jojo-Schmitz
A bug indeed; unfortunately one of many related to the processing order of the barlines and the jumps. Logged into the rewrite (which I'll now hopefully restart).
The bug persists even when adding an additional measures in-between and having the segno in between them. It's something that broke more with the move to MS3 somehow.
Expanded still broken proof of the bug attached.
In reply to A bug indeed; unfortunately… by jeetee
When I had to test for version 2.2.0 of MuseScore I reported this problem to Nicolas Froment (Lasconic) the French developer of MuseScore : The possibility to repeat the repeat bars after a return to Segno does not work if a repetition precedes this Segno. It doesn't seem to have been heard :(
Resigned problem on the French forum : https://musescore.org/fr/node/302343
Workaround ( poor ) : develop repetition before the Segno
In reply to When I had to test for… by [DELETED] 16875981
So the "good" news is I didn't break it more than it already was :-)
In reply to So the "good" news is I didn… by jeetee
A bug also reported during tests of 2.2.0 the conflict between 2 voltas of adjacent repetitions and whose correction does not seem to have been made either.
Test attached file
Conflit entre voltas.mscz
In reply to A bug also reported during… by [DELETED] 16875981
The programming difficulty there is "understanding" the 2nd volta at the start repeat and whether it should cover the repeat or not.
In this specific instance you can work around it by setting the RepeatList of the first 2nd volta (measure 3) to "
1, 2
" where the "2" is used the first time it is found (with relation to the start of the score) and the "1" is used the 2nd time, with relation to the repeat of m3.I've managed to find a work around. It seems that dal segno al coda con rep works in this situation. So we can add the required symbols and then hide them.
A proposed fix in https://github.com/musescore/MuseScore/pull/6248
In reply to A proposed fix in https:/… by jeetee
This fix was just accepted into MuseScore and will be part of the next release (3.5.1)