position and staff of grace note after is changed on MusicXML export/import

• Jun 22, 2020 - 04:28
Reported version
3.4
Type
Functional
Frequency
Few
Severity
S2 - Critical
Reproducibility
Always
Status
GitHub issue
Regression
No
Workaround
No
Project

after save the score,close it and reopen it,the note‘ position is changed.

Attachment Size
599No79 (2)(1).xml 103.6 KB
before.png 19.78 KB
after.png 18.9 KB

Comments

Title position of note is changed after MusicXML export position and staff of grace note after is changed on MusicXML export/import

Not sure why you'd want to move grace notes from before the 1st note of the bottom staff to after the (last) note of the top staff though, rather than directly using "grace note after" on that one?

Oh, I see, this exactly is the problem!

Status needs info active

Actually I can...

  1. New score, piano, grand staff
  2. whole note in to staff (actually to the last note of a measure)
  3. gracenote after attached to it
  4. any note in bottom staff (see attached score)
  5. export to MusicXML
  6. close
  7. import the MusicXML
Attachment Size
test.mscz 3.41 KB

In reply to by Jojo-Schmitz

This appears to be an import issue, not an export issue. The two musicxml files I have attached were produced by music21, and both look good to me. One works, the other shows the bug, and the only difference is eighth-note grace notes vs. 16th note grace notes (diff the files to see). Eighth shows the bug, 16th does not. I also attached small screenshots (PDFs) of MuseScore's rendering of these files. I would also note that Finale renders both of these musicxml files correctly.