Fingering with square frame have a duplicated frametype's tag in mscx

• Aug 23, 2018 - 13:34
Reported version
3.0
Type
Functional
Severity
S4 - Minor
Status
closed
Regression
No
Workaround
No
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (32-bit): 3.0.0, revision: 3543170

test.gif

  1. Create new score
  2. Add one note
  3. Add fingering with style StringNumber to note.
  4. Change frame to square.
  5. Save the score.
  6. Open mscx in texteditor

Here is how Fingering looks like:

<Fingering>
      <style>String Number</style>
      <frameType>1</frameType>
      <frameType>1</frameType>
      <text>1</text>
</Fingering>

tag is duplicated.


Comments

Severity S1 - Blocker
Regression No
Workaround No

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.3.0.8115, revision: 920cd1b

Fixed?
code_snippet.png

That XML snipped there looks fixed to me. What part of that doesn't look fixed to you, out of interest?
(BTW, I realise my PR above never got merged. If it really is broken, I'm happy to take another look at it).