Chord symbols don't transpose when changing instrument/transposition in staff properties
Ubuntu 14.04, GIT commit: 9341f4e
1) new score, flute, C major
2) add chord symbol "C" to first measure
3) staff properties
4) change instrument to tenor saxophone
Result: key signature transposes, but chord symbol does not. Same thing if you leave the instrument alone but change the "play transposition".
I would have thought this worked at one time but cannot prove it. I know key signatures did not transpose until #31001: Wrong key when changing instrument.
Comments
I have a fix for this. But in fixing it, I noticed that key signatures don't transpose in parts, although notes and now chord symbols do. So my fix for #31001: Wrong key when changing instrument wasn't good enough. I'll fix this too. Same piece of code, I might as well fix this at the same time.
Actually, the key signature issue is more fundamental than I thought. It's not that the key signature isn't transposed - it's that the transposition information is not reflect in the part. That is, changing transposition info in the score does not propagate to the part. I've filed this as #62416: Changes to staff transposition (and other properties) not reflected in linked parts.
I need to hold off on a fix for the chord symbol issue as the specifics of how I deal with parts will likely depend on how the transposition linking issue is handled.
I've submitted the PR anyhow since the basic code is good and at least now it is available for review while we consider how to address #62416: Changes to staff transposition (and other properties) not reflected in linked parts.
https://github.com/musescore/MuseScore/pull/2025
Fixed in branch master, commit f8a0b29fc7
fix #62341: transpose chords on staff transposition change
Fixed in branch master, commit eb65adb351
Merge pull request #2025 from MarcSabatella/62341-transpose-chords
fix #62341: transpose chords on staff transposition change
Fixed in branch 2.0.3, commit f05883de60
fix #62341: transpose chords on staff transposition change
Automatically closed -- issue fixed for 2 weeks with no activity.