Spurious characters in Begin/End hook dropdown lists

• Sep 21, 2018 - 11:29
Reported version
3.0
Type
Functional
Severity
S4 - Minor
Status
closed
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.0, revision: 26ad655

See attached score. Click on the text-line in measure 5. Look at the drop-down lists in "Begin hook" and "End hook." E.g.

wrong_symbol.JPG

There is a spurious character before each degree symbol.


Comments

I do not see an attached score, but I tested it with a pedal marking added to a new score. It looks fine in macOS, but I get your same incorrect result in Windows.

Add "Staff type change" text to the score. The extra characters are also present in the dropdown list of "Notehead scheme" in the Inspector.

That indeed is more likely the same underlying problem, something about Unicode/UTF8 in translatable text from .cpp files, might well be a Qt bug.
ISTR we had to use different means to encode those in the past too and I just found out (again) how to, PR to follow.

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit 6d7667def3

fix #276425: Spurious characters in Begin/End hook's dropdown

and Staff text change text's Notehead scheme drop down