Closed GabeS573 closed 1 year ago
A workaround would be to add the atonal key signature locally to the staff when it changes
A workaround would be to add the atonal key signature locally to the staff when it changes
@erinic04 That workaround doesn't work because local key signatures can't be added to unpitched percussion parts (i.e. Ctrl+dragging any key signature onto the unpitched staff does nothing).
The unpitched staff doesn't honor global key signatures either, leading to problems like this:
I can still reproduce the issue mentioned by the OP on the current nightly build (2022-12-18). @RomanPudashkin Unless I'm mistaken here, I propose to reopen this issue.
Here's a workaround:
I think it would be handy if MuseScore automatically added the staff type change when the user adds an instrument change between pitched and unpitched instruments, or more generally a clef change to and from a percussion clef (if there are other cases when that happens of which I haven't thought).
Since the settings affect whether courtesy key signatures are generated on the following staves, I think that when the instrument change is not on the first beat of the bar, the staff type change should be placed on the next bar instead of on the same bar as the instrument change, as illustrated below (otherwise the key signature would not be generated on the second staff).
An additional issue I see here is that the key signature should be generated alongside the clef when changing from an unpitched to a pitched instrument. I'm not sure if it should apply when the key signature is already present at the beginning of the staff, such as in the above example, but it definitely should appear when the beginning of the staff was unpitched.
For the record, while the "erroneous key signatures" cannot be deleted, they can be hidden, but the solution above is much more appropriate for this issue.
I can still reproduce the issue mentioned by the OP on the current nightly build (2022-12-18). @RomanPudashkin Unless I'm mistaken here, I propose to reopen this issue.
It seems, nigthtlies are not produced on top of master (I checked local built master and issue is fixed, but in nightly, it is not.)
Describe the bug Using the Instrument Change text to change from a pitched to an unpitched instrument causes subsequent unpitched clefs to have a key signature.
To Reproduce Steps to reproduce the behavior:
Expected behavior Lines with an unpitched clef should never show a key signature.
Platform information