Toggle between clefs of unpitched percussion and pitched percussion leads to a crash

• Feb 7, 2016 - 21:56
Priority
P2 - Medium
Type
Functional
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

242b4ba / Windows 8.1

1) Create a score for Drumset (unpitched) and Glockenspiel (pitched), or load this file: test percussion.mscz

2) Right-click on the second staff -> Staff Properties -> Change instrument -> Choose Wood Blocks (unpitched) -> Ok

3) Press "I" -> Add a staff to the Wood blocks -> Ok

4) Repeat step #2, but the reverse, ie: right-click on the second staff -> and in Staff properties, change the Wood blocks instrument for the Glockenspiel instrument -> Ok

5) "I" -> Remove the first staff (Treble clef) of the Glockenspiel -> Ok
First result, you are here: File .mscz: test percussion step 5.mscz
And image:
step.jpg

6) "N" -> Enter a note in the drumset staff

7) Click on the "Glockenspiel staff"

Result: crash


Comments

Changing for pitch to unpitch or vice-versa is not supported correctly. We should disallow it or change the clef accordingly. Having G clef on an unpitched staff is going to cause trouble at one given moment...

Severity S2 - Critical S1 - Blocker
Priority P1 - High
Regression No
Reproducibility Always
Workaround Yes

Still actual, but scenario is really weird... I'm thinking about one more field "Affected users" like "no-one, few, curious users only, everyone" :)

Worked great. Adding a staff change type allows you to set line numbers and move the line(s) so they look better at the staff type change.

Fix version
3.6.0