When changing instruments, hide all key signatures except the staff that changes
Hi everyone. My issue is this. I'm copying a big band chart, the 1st alto changes from alto sax to flute regularly. The first time I change instruments, only the sax staff undergoes a key signature change (good. exactly what I want always). After that, any time I change the instrument for the sax staff, all the other staves in the score get a redundant key signature that I can't get rid of. Help! xD
Attachment | Size |
---|---|
big band good.png | 91.93 KB |
big band bad 1.png | 72.76 KB |
big band bad 2.png | 73.18 KB |
Comments
Confirmed in 3.5.0.
Experimenting with a minimal score I find it works as expected if I add an instrument change from the menu Add>Text>Instrument Change. But it works in the bad way that you experience if I add an instrument change from the palette. So there is a workaround, but it should work the good way however you add the change.
Also, I think the behaviour has changed since v 3.3. If I recall correctly and as described in #298489 at that time Musescore only changed the transposition. The new key signature had to be added manually. It looks like that has been automated (I can't find when it happened) and it is now a bit overenthusiastic and sprays key signature around with abandon when an instrument change is added for from the palette after the first time.
I suggest you add this to the issue tracker.
In reply to Confirmed in 3.5.0… by SteveBlower
It looks like the automatic addition of key signatures was introduced in 3.5 alpha.
https://musescore.org/en/handbook/developers-handbook/release-notes/rel…
I guess this is not a regression as there was no automation to get it right or wrong before this change.
In reply to It looks like the automation… by SteveBlower
See #308854: Change instrument automatic features flawed.
In reply to See #308854: Change… by mike320
Yes, that looks the same.
What is very odd is that I can not now reproduce the fail from my earlier experiments, even after restarting MuseScore. I see the superfluous treble clefs in the examples you gave in #30884 but again not the superfluous key signatures.
Self healing software?
In reply to Yes, that looks the same… by SteveBlower
When you Save, close and reopen the score the extaneous key signatures are not displayed (if I remember correctly). I think this might be what you're talking about it being self healing.
In reply to When you Save, close and… by mike320
No, I mean I don't see the reported problem that I confirmed earlier, even without saving, closing and reopening. It just seems to work like it should at the moment.
In reply to No, I mean I don't see the… by SteveBlower
It does seem somewhat intermittent. I just tested it using a Flute and piccolo (which is where I found it) and didn't see the key change in all instruments. I then tested it on Clarinets (Bb & A) with no problems, this is quite annoying.
In reply to It does seem somewhat… by mike320
Intermittency may explain why I had different results from the palette (bad) and from the menu (good). But at the time that was reproducible.
In reply to Intermittency may explain… by SteveBlower
One way to (almost) always make it happen is to set up a score with no manual system breaks. Chose the last measure on a system and add the instrument change there. The new system breaks cause it to happen in what used to be the first measure of the system before the instrument change. I'm sure I've seen it in other places though.
In reply to One way to (almost) always… by mike320
Odder and odder...
When I tried your actions I did indeed see the spurious key signatures.
For the record, I am taking a freshly crated AATB sax quartet line up (not from a template) in Cmaj concert as the starting point and adding changes to flute or sop sax and back again in the Alto 1 part.
Further experimentation shows that this also happens if you add a local key signature to the first stave in last measure of a system. I again started with AATB saxes and in Cmaj concert and added a single flat key signature to the last measure in the top stave. It correctly shows as two sharps. The other key signatures are also correct showing 3, 2 and 3 sharps for ATB but repeated in the courtesy signatures.
Perhaps the instrument change is a red herring. It is the local key signature that seems to be the trigger.
In reply to Odder and odder... When I… by SteveBlower
Hey everyone I don't have time to sift through all this just now but I wanted to thank you for everyone's prompt attention to the issue. I will try the first workaround mentioned where you just add text and engage the instrument change from there.
Y'all are the best #musegang
In reply to Odder and odder... When I… by SteveBlower
I agree it's the key change that's the problem. I saw this before the automation for instrument change.