Instrument tip in mixer shows & instead of &

• Jun 12, 2019 - 08:29
Reported version
3.1
Type
Wording/Translation
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
PR created
Regression
No
Workaround
No
Project

1) Create an orchestral score
2) Open the mixer and go to French horns (F Horn 1 & 3)
3) Hover over the name of the instrument until a tip appears
The second line reads "Primary instrument: F Horn 1 & 3"
It should read "Primary instrument: F Horn 1 & 3"
The same happens with F Horn 2 & 4


Comments

It is a bug in the Symphony Orchestra template itself, Mixer is innocent here
Or rather the way Long and Short Instrument names are handled, same problen is seen in the staff properties dialog's long instument name field.

Easy way out might be to replace the "&" with a "+" in the long instrument name of that template.
Another quick and dirty fix would be to replace the "&" with an "&" the mixer, i.e. change
mscore/mixertrackpart.cpp, line 182 from part->longName(), to part->longName().replace("&", "&"),. This doesn't feel right though...

Culprit seems libmscore/textbase.cpp, line 2223, which changes an "&" entered in long or short instrument name into "&", but doesn't turn that back to just "&" when showing it?