[MusicXML export] Fretboard diagrams are not exported if no chord symbol is attached
981d82f/ Windows7
1) "My First Score"
2) Add a fretboard diagram (eg the diagram by default in the palette)
3) Export the score as XMLmusic file -> Save
4) Load this XML file into MuseScore
Result: the fretboard diagram has not been saved.
Comments
possibly related to https://musescore.org/nl/node/95866 which also touches upon the export of fretdiagrams
or rather #95866: Crash when exporting to MusicXML
But this looks like being a different problem, here there seems that not even the attempt is made to store the fretboard into the XML, in the other case it does try, but then dereferences a null pointer when there is a fretboard diagram without any fret marks.
Moreover, note that after attaching a chord symbol to the fretboard diagram, the export is normally done (the fret diagram is preserved in this case), from what I see now.
Steps:
1) "My First Score"
2) Add a fretboard diagram, AND attach to it a chord symbol
3) Export as a XMLMusic file -> Save
4) Load into MuseScore
Result: as expected: fret diagram is preserved (and chord symbol, as expected too)
Unfortunately, this issue currently cannot be solved. Reason for this is that while in MuseScore the chord symbol and fretboard are separate (and totally unrelated), in MusicXML a fretboard requires a chord. Fixing this requires requires a change of the MusicXML specification.
Issue set to postponed.