Staff type change leads to crash

• Nov 27, 2018 - 01:14
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Randomly
Status
closed
Regression
No
Workaround
No
Project

Add a Staff type change text to the score
Change the transposition
Click OK
CRASH

I haven't look to see what other changes lead to crashes. I know changing number of staff lines does not work but see #278867: Staff type change text only affect staff before text.


Comments

Priority P1 - High

When you say "change the transpostion", I guess you mean, for the staff as a whole, using Staff Properties? There is no transposition setting associated with the staff type change, only instrument changes can do that. If I use Staff Properties and change the transposition there, I can confirm the crash. See my comments in #278867: Staff type change text only affect staff before text; I think you might be confused about how to use the staff type change (not surprising because as with most new features, documentation is scarce to non-existent.

To be clear: once you add a staff type change, it affects the staff from that point forward by using the Inspector on the staff type change element itself. Only a handful of staff properties are currently available, and as mentioned, transposition isn't one of them. But number of staff lines is, and it works as it should.

In reply to by Marc Sabatella

I was testing its capabilities since there is no documentation for it yet, just like I do everything. If misusing it leads to a crash, then it should not be possible to misuse it in that way. I inserted the staff change text, right clicked like I was changing the number of lines but changed the transposition to see what would happen. It's a crash that needs fixed.

Of course, the crash needs to be fixed, I wasn't questioning that. Just trying to make sure I understood what you were doing, and to make sure you understood how the staff type change works. What you did isn't misusing anything - it just isn't doing what you thought it was doing. Staff properties still does exactly what it has always done - change the global properties for the staff as a whole. It's just the the staff type change allows some subset of those properties to then change mid-score.