Instrument tip in mixer shows & instead of &
Reported version
3.1
Type
Wording/Translation
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
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
Fix version
3.3.0
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(),
topart->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?
Going for "&" with an "&" the mixer, i.e. change
mscore/mixertrackpart.cpp, line 182 from
part->longName(),
topart->longName().replace("&", "&"),
, lacking a better ideaFixed in branch master, commit 324aa74a9d
fix #290659: ampersand in Mixer tooltip
Fixed in branch master, commit 6c799545fe
_Merge pull request #5172 from Jojo-Schmitz/ampersand
fix #290659: ampersand in Mixer tooltip_
In reply to Git webhook message by Git Message
Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.