Crash on undo/redo after changing staff distance
1. Open Huron_River_Andante.mscz
with nightly build 565d5c5.
2. Style > General… > Page, decrease staff distance and increase again, OK
3. Undo, Redo
Result: staff crash.odt
See also #110916: Gigantic spacing appears in measures with rehearsal marks after change staff distance and #110241: Regression—pressing [Esc] in General Style dialog applies all changes instead of cancelling.
Comments
confirmed, stack trace:
1 Ms::mscoreMessageHandler musescore.cpp 2349 0x48b8ba
2 Z14qFloatDistancedd 0x6888d42a
3 _ZStL6ignore 0x17b2ac3
4 ?? 0x28ba24
5 ?? 0x2b
6 ?? 0x38
7 ?? 0x10
8 Ms::ContinuousPanel::ContinuousPanel continuouspanel.cpp 49 0x650073
So it dies on an assert somewhere deep inside Qt
Can't reproduce from scratch for now.
But can in two manners with the score reduced in a minimal way: minimal.mscz
1) Open this file -> Style -> General -> Page
- Decrease staff distance (eg 6.1 sp) -> Increase staff distance (6.6 sp) -> Ok
- Undo -> Redo -> Undo (here, this last undo is necessary)
Result: crash
2) Open the same file -> Delele the spacer
- then same steps as previous: Style/General etc.
- but at the end: only Undo -> Redo
Result: crash
Note: in the two cases, no issue by deleting first the two rehearsal marks (13/21)
2nd Undo is not needed for me and the stack trace is identical
As pointed out by Fryult at https://musescore.org/en/node/110916#comment-518871, this seems to have been fixed at some point before 216fa4a.
Automatically closed -- issue fixed for 2 weeks with no activity.