Failure to show courtesy key signature for change to C major / A minor
This fault has been reported on the forum "Support and bug reports":
https://musescore.org/en/node/273841
Possible cause or contributing factor: when measures are so long that there is only one measure per system, I have seen two separate scores where MuseScore fails to show any courtesy naturals prior to a change to C major /A minor on the next system.
The attached empty score demonstrates the problem in measure 3: the double barline inserted by MuseScore indicates that there is a change of key signature, but the courtesy naturals are missing. Measures 4-7 are in C major (or A minor).
Attachment | Size |
---|---|
Change of Key Signature.mscz | 10.66 KB |
Comments
Could be related to #102676: Deleting key signature doesn't remove courtesy one at end of single-measure system (in Page View), which also seems to trigger on single-measure systems.
Having recently worked on this code, I think i can guess what's happening. I think the keysig at the beginning of the measure is fooling us into thinking we've already generated the courtesy keysig at the end. Something like that, anyhow.
By deleting the system break, the courtesy re-appears.
In the Debussy example https://musescore.org/en/node/273841 the courtesy re-appears after deleting some RH notes one by one in the previous bar, thus making the bar shorter/simpler.
Came up again in https://musescore.org/en/node/273890, including a workaround, using a custom keysig consisting of naturals
Came up again during my MuseScore Cafe (!) - see https://youtu.be/n0hAyCiBbsg?t=1818