Change the layout with hide empty staves and small staves leads to crash

• Oct 29, 2017 - 13:50
Reported version
2.1
Type
Functional
Severity
S2 - Critical
Status
won't fix
Project

2.1 version (active also with 2.2 dev.1c05779) / Windows 10

1) Create a score for three instruments eg Flute, Oboe and Clarinet (4 measures is enough)
2) Clarinet staff -> Staff Properties -> Tick "Small staff" -> Ok
- Test file at this step: empty Flute-Oboe-Clarinett.mscz
3) Clarinett staff always: enter a 16th note and press "R" key until a second system is created, so approximately at the 2nd beat of the last measure

4) Style -> General -> Tick "Hide empty staves" -> Ok
5) "I" -> Remove Flute and Oboe staves -> Ok
6) Undo -> Redo

Result: crash

  • This issue is related to the layout. Hide empty staves, and Small staves are, so, involving.
    Eg just uncheck the small staff to avoid the crash, or more simply, and finely, by modifying the content of the first measure of the clarinet: eg, enter a whole note instead of the 4 X 4 16th. And so, the layout change immediately.

Comments

Title Change the layout with empty staves and small staves leads to crash Change the layout with hide empty staves and small staves leads to crash
Status (old) active won't fix
Status active won't fix

For 3.0-dev this produces some strange layout after hiding staves but undo/redo operations seem to work well.
For 2.X I'll mark it "won't fix".