Changing actual duration of measure causes corruption with linked staves
Hello,
I report a bug related to irregular measures when two staffs are linked (Tab and standard staffs in this case)
Made with Version f83f8b9 (ditto with ef4c692)
I insist: this problem do not concern a single Tab staff, or one standard staff: only two linked staffs.
-In my example, I want to reduce measure 5 in 3/4 (instead of 4/4, and place a repeat bar), and then measure 6 in 1/4 (Actual, always, instead of 4/4 , nominal)
- As you can see, it lacks a time in measure 5 (only two quarters notes, while Measure Properties displayed 3/4). And measure 6: it is no longer notes (my bar lines are still present!), or the manipulation often leads the Nightly to a "crash"
Look at the different files (it's possible the order of them is not the best, sorry) to demonstrate my approach.
Attachment | Size |
---|---|
portée standard.mscz | 2.79 KB |
portée TAB.mscz | 1.99 KB |
mesures irrégulières.mscz | 2.34 KB |
mesures irrégulières1_0.mscz | 2.37 KB |
mesures irrégulières1.jpg | 99.31 KB |
mesures irrégulières2.mscz | 2.39 KB |
mesures irrégulières.jpg | 119.61 KB |
Comments
Seems related to, if not a duplicate of, #18157: Segfault when inserting notes in linked staves after time sig change and/or #24759: Crash on changing time signature in part
I was hoping the fix for the other bugs I mentioned would fix this one too, but that is not the case. Here are steps to reproduce from scratch:
1) new score for guitar, with two linked staves, 4/4
2) fill first three measures with quarter notes
3) right click measure 2
4) measure properties
5) change actual duration to 3/4
Result: only two beats appear in the measure, with extra space after the second beat
Except result: three beats appear
If you try this using score & part rather than two linked staves in the same score, you get three beats, but the spacing is off in the same way - extra space after the last beat.
47cb927ec3
Sorry, I don't see any change in behavior at all. Reducing the length of a measure using measure properties still produces the same corruption it did before - see steps in comment #2. It appears the measure does have the correct actual duration (3/4), but there are only only two beats in the measure. If you then change the second quarter to a half, all seems well.
Also, another aspect to the bug: hitting Undo immediately after changing the actual duration produces a real mess - all measures are reduced to an extremely narrow width.
Never mind on the Undo - it looks like Undo is completely broken right now: #25815: Undo of virtually any note operation destroys layout. Still, the rest of my comment above stands - the originally reported bug still exists in the same form as far as I can tell.
Fixed in c66fe22021
Sorry, I shouted my joy a little early!
- In the case Standard staff + linked Tab staff, it works, I think. (3/4 + 1/4 for example)
- But in the opposite direction, Tab + linked Standard staff, I see a problem (:
Measure 8: ok for Actual Measure in 3/4, but the measure 9 (which I wanted to apply an Actual measure in 1/4) has a strange behavior (only two beats possible) and its neighbor too.
3actual.mscz
But there is progress :-)
EDIT: Surprisingly, from the second file (Tab + Standard), it works again (measures 13-14, and the two last) if you go back via the I key (Create instruments) the standard staff on top. See the last mscz file.
4actual.mscz
Ok, I just realized :-)
When you change actual duration of measures, it must be done via the Tab staff (if you choose Tab + linked Standard), and via the Standard staff (if you choose Standard + linked Tab).
Do not mix and do not move from one to the other staff (that's what I did last night!)
Well done ☺ Thanks a lot.
Automatically closed -- issue fixed for 2 weeks with no activity.