[MusicXML] Export keeps text from first frame only
- Create a score
- add a few vertical frames by a) inserting to the first meaasure and b) by appending
- enter some unique text into each of them
- export as MusicXML (.xml or .mxl)
- import that files
Expected result: all frames are still there
Actual result:
Only the very first frame is still there
Tested with 1.3 and 4f5befc.
Comments
It loses not only the frames, but also their content. Does this information loss warrant the issue to be critical? IMHO it does...
And I'm not really sure, whether it is the export or the import that loses the frames.
Affects all frames, not just vertical ones
As far as I know the concept of frames is alien to MusicXML. So there is not way to store them.
What the export does : it takes the first frame, look for composer, lyricist, title etc... and create "credits" elements in the MusicXML file (Credits element are just text + page number + coordinates)
The import reads the credits element and reconstruct a frame to put them in.
There is no crash, and the loss of information doesn't occur if you save in MSCZ. This bug is not critical at all.
I don't really care whether it keeps the frames, but it needs to keep their content. Like additional lyrics stanzas or more than one piece (and hence title, composer etc) in one file.
How else to get these across to another software or between 2.0 and 1.x?
It is indeed the export that loses this "frame text" data, not the import, I just had a look at an xml file with a normal editor
came up again in https://musescore.org/en/node/112321
Deleted.
See #291758: [Musicxml Export] - Tbox and Vbox after measure 1 don't export, fixed in https://github.com/musescore/MuseScore/pull/5606
Well, this here is the much older issue, so the other is actually the duplicate. However, what counts is getting it fixed ;-)
My bad, found this one after creating the PR and was too lazy to amend the commit and change the PR. No offence meant.
No problem at all ;-)
(and relates to #270643: [EPIC] MusicXML import/export issues