Adding parentheses leads to an unexpected result

• Sep 1, 2015 - 04:52
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Nightly 709e1ed / Windows7

1) Open this file: test file.mscz

2) Select the first small note (E in voice 2), or any other quarter note in this first measure

3) Double-click on the parentheses, in Note Heads palette or in Accidentals palette.

Expected result:
expected.jpg

Actual result: parentheses are replaced by a whole note and half note
result parentheses.jpg

- Notice that it works as expected with Bravura and Gonville fonts.

- After checking, this issue occurs on July 27 and seems to be a side effect of this commit: 7f58e9f

. Firstly reported here: https://musescore.org/en/node/75286


Comments

Well, the "noteheadParenthesisLeft" and ""noteheadParenthesisRight" glyphs (U+E0F5 and U+E0F6 resp.) in the mscore font are wrong: they look like the semibreve and minima note heads (same as U+E0A2 and U+E0A3?), rather than depict parentheses.

They are easy to fix, but it would be useful to understand why this happened, before messing with font.

Can be related with recent changing of Emmentaler to SMuFL encoding?

"Can be related with recent changing of Emmentaler to SMuFL encoding?"

Have you seen this phrase in the first message?: "After checking, this issue occurs on July 27 and seems to be a side effect of this commit": 7f58e9f

Found! Accidental parentheses and note head parentheses used references to time sig. parentheses. When the encoding has been updated, not all the references were updated in parallel.

Fix coming soon.

EDIT: @cadiz1, I have to admit I saw your sentence only after... OK, some duplicate effort, but I also like to try to understand by myself first... ;)

Status (old) patch (ready to commit) fixed

Fixed in branch master, commit 450b7b3707

Fix #75316 - Wrong glyphs for note head parentheses

__References__:
- original issue: https://musescore.org/en/node/75316
- duplicates:
- https://musescore.org/en/node/85456
- https://musescore.org/en/node/86451

Note head parentheses glyphs are wrong. This is a side-effect of the change to SMuFL encoding.

Fixed by using the right references; only the font is changed, no code change.