Voltas (and other lines) disappear upon entering notes
Ubuntu Studio 14.04, GIT commit: e176e25
1) new score
2) add volta to bar 2
3) bar 1, note entry
4) start entering quarter notes
Result: volta disappears as soon as you enter a note into measure 2
The same is true for other lines. Realistically, it makes sense for slurs and maybe some other types of lines that you think of as being attached to individual notes that they would be deleted when the notes are replaced. But it doesn't make sense for voltas, pedal lines, or ottavas.
I am guessing this is a side effect of the fix for #28761: Lengthening note before a line produces incorrect results. Replacing the start note of a spanner needs to be treated differently than extending the previous note.
Comments
Fixed in 9e93f15037
Broke again with recent fix for #28761: Lengthening note before a line produces incorrect results. See my comments there.
FWIW, if there is not time to fix both of these issues together for the beta, I consider this one the more important to have working.
I have been looking at spanner code lately, I'm pretty sure I can get this.
https://github.com/musescore/MuseScore/pull/1195
It's a "cheap" fix - basically, I keep voltas and any other measure-attached spanners (are there any?), lose the others. Probably would be possibly to do special handling for hairpins and a few others so they are kep if you are "replacing" the note as opposed to deleting, but we can always worry about that later.
fixed in f2ea47b (not using Marc's PR)
Automatically closed -- issue fixed for 2 weeks with no activity.