Adding staff to instrument in score does not add staff to part; possibly crash involving undo / toggle mmrest
Ubuntu 14.04, GIT commit: 3c7a69d
See also #104431: Removing linked staff deletes part. I discovered both issues while attempting to answer a question on the forum (https://musescore.org/en/node/104406). I've lost track of what's expected and what is not. What I'm about to describe might be a feature for all I know, but I thought we weren't going to support this.
1) new score, treble clef template (or My First Score, I assume)
2) File / Parts
3) New All
4) OK
5) Edit / Instruments
6) select staff, Add Linked Staff
7) OK
Result: staff is added to score but not part. Like I said, this might be a feature, but FWIW, I think the user is more likely to want the linked staff in the part but not the score (which is what the OP in the forum thread I mentioend was asking about).
Again, as far as I can tell, everything actually *works* OK - no corruption or anything. I did see a crash, however, at some point after doing a series of undos etc (also adding a linked staff while viewing the part, which nonetheless adds it to the score) and then toggling mmrests off in the part. No luck reproducing that so far, though.
Comments
"but FWIW, I think the user is more likely to want the linked staff in the part but not the score (which is what the OP in the forum thread I mentioend was asking about)."
Not necessarily. Some users do not want to have TAB in part. See, for example: https://musescore.org/fr/node/103276
If the user does not want TAB in main score, he avoids linked staves.
He can create two instruments (one standard and one in TAB),
then he generate parts (to have the choice, and eg he can delete the standard part, EDIT: in another wish of the user, the inconvenient - or the limitation to this of course- is that he cannot have the display of both TAB and standard in the same part, true),
and ultimately made invisible the TAB in main score via the instruments dialog.
I reproduced the crash while attempting to add a linked staff following a number of undo/redo cycles subsequent to testing the issue in your other issue thread about deleting a linked staff and losing the part.
The program did NOT crash the first or second time I added a linked staff; only after several go-rounds with intervening undos. I think it crashed on the third try; not sure, tho.
Three-instrument (Oboe, Flute, Trumpet) test score with multiple instrument-change texts. I had the parts generated in tabs when it happened.
2.0.1/Win7Pro
Want me to try again and copy the crash report?
Any help reproducing the crash is appreciated.
As for the user wishing to have tab in parts, I relaized not all - or even most - users will want tab in parts. But the ones who don't want it in the part probably don't want it in the score, either. More to the point, *most* users will want the score and part to have the same staves. But of the users who wish to have different staves for score versus part, I think it will be more common to want the tab staff in the part - where the guitar player can see it - then in the score, where only the conductor can see it. So if we support any difference at all, it's probably more important to support having staves in the part but not in the score than the other way around.
"it's probably more important to support having staves in the part but not in the score than the other way around."
Probably indeed.
Not other new for now.
We could have it both ways, if the visible property of a staff would be independent of whether in score or part rather than being a global setting
@Marc--I'll give it another go later this afternoon and see how it behaves.
Four years on... has anybody been able to reproduce in the meanwhile?