Thanks, if you can find the repro steps then that gets a huge amount closer to finding the fix. One thing that could be worth trying is that sequence I think you had where you copied parts in the key editor but then moved them down to the next track. It could be that if you have a part on the track with the score editor shown, then drag it to another track, then things aren’t updated correctly. If any of the other reports are that tracks end up with the instruments from the track below then that could suggest this mechanism.
For the track type, it is initialised from the track name when you first open the score editor (and the property is written into the track), but if you then rename the track then that doesn’t change the instrument type. This is intentional, as it would be frustrating if you set up your intrument carefully, then rename the track and it would default to a different instrument.
I think this is a wrong decision.
If I change a track to another name it’s because I want another instrument to play that track.
So the ID should change as well.
Consider the case that you have a track called ‘Bass’, which is ambiguous and may be one of several different things: singer, bass guitar, bass drum, contrabass. The score editor defaults to ‘Singer > Bass’, but the user wants it be bass guitar. So the user changes it and then sets up the string tuning, instrument long and short names and other instrument-specific settings. The user then renames the track to something like ‘Bass 2’, ‘Jim’s bass’, etc and the all the instrument settings are lost because it is reset back to Singer>Bass. There are similar problems with ambiguous percussion: whether it should be a 5-line drum map stave with a specific drum map, a single-line unpitched stave or 5-line pitched stave.
We try to avoid unintended consequences that means that one edit will overwrite changes made elsewhere