Importing MusicXML causes numerous 'courtesy clefs', etc. for some reason
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project
- import attached MusicXML file
- Format -> Page Settings -> Scaling -> Staff space; change spacing to balance staves on the two pages
Numerous 'courtesy' clefs, key sigs, etc. appear (sometimes doubling the bar lines as well).
Able to workaround by selecting one of the clefs, right-click, select, select all similar, [DEL] but this corrects the clefs.
Attachment | Size |
---|---|
920 Special.xml | 171.46 KB |
Fix version
4.0.0
Comments
Relates to #270643: [EPIC] MusicXML import/export issues
A quick look at the MusicXML shows there are a whole bunch of what I think are unnecessary "barline" tags - a left one at the start of each measure, and a right one at the end. My understanding is that none of these are needed except where non-standard barlines are desired. It's possible that somehow this is what is triggering MuseScore to get confused about which measures are actually meant to have system headers.
In reply to A quick look at the MusicXML… by Marc Sabatella
So, the original iPad app, "Komp", is likely the culprit, then. I will forward the information to that developer group. Thanks for investigating this issue.
Ignoring the unnecessary "barline" tags would be a trivial change to the MusicXML importer. Will create a pull request for master.
Pull request https://github.com/musescore/MuseScore/pull/11413
Fixed in branch master, commit 209ca94078
_Fix #331336: Importing MusicXML causes numerous 'courtesy clefs'
Ignore spurious regular barlines (left and right) on MusicXML import,
to prevent confusing the layout algorithms with respect to system start._
Fixed in branch master, commit 6d8ed43169
_Merge pull request #11413 from lvinken/331336-musicxml-barlines-master
Fix #331336: Importing MusicXML causes numerous 'courtesy clefs'_
I've added it to https://github.com/musescore/MuseScore/pull/9000 (for 3.x) too.
Automatically closed -- issue fixed for 2 weeks with no activity.