MusicXML export does not export clefs after removing first measures
A uncommon use case, but it bites down hard when you hit it.
Use case:
* Edit a piece
* Remove some measures, including the first one
* export MusicXML
The resulting MusicXML file does not have clef info. Yet, when saving/opening in native MuseScore format, the clefs are there.
In the export of the "full" (original) file, the clefs are there.
Workaround: replace every clef for every part with another one, and then put the right clef back.
E.g., for the bassoon part in the example, replace the bass clef with a trable clef, and then change back to bass clef.
Attachment | Size |
---|---|
test_MXL_export.mscz | 11.01 KB |
test_MXL_export_2nd_halve.mscz | 7.35 KB |
test_MXL_export_2nd_halve.xml | 19.5 KB |
Comments
Seems to be caused by handling the resulting multi-measure rests incorrectly.
Pull request #2356
Fixed in branch master, commit e5978529ca
fix #88376 - MusicXML export does not export clefs after removing first measures
Fixed in branch 2.0.3, commit d3c18c0ead
fix #88376 - MusicXML export does not export clefs after removing first measures
Automatically closed -- issue fixed for 2 weeks with no activity.