musescore / musescore/MuseScore

MuseScore adds nonexistent rests when importing XML and then thinks it's a corrupt file

Open
#22,857 13 comments 1 reaction 2 assignees View on GitHub

Nobody has claimed this yet.

community engraving MusicXML P2
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Opening/saving issue

Bug description

No response

Steps to reproduce

Open "Brahms 4th Symphony, Andante Moderato Viola m 86 issue with MuseScore.SHY.xml" in
MuseScore issues.zip
This alert appears:
image
Click Open anyway. Display looks like this:
image
MuseScore has added a rest in the end and some tuplets, both of which are not in the original XML, which is supposed to look like this:
image
In order to avoid the curruption message, you can open "Brahms 4th Symphony, Andante Moderato Viola m 86 issue with MuseScore fixed.SHY.xml" which contains an additional invisible rest, but why is this necessary? And why are tuplets being added that are not in the original XML?

Screenshots/Screen recordings

No response

MuseScore Version

OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore Studio version (64-bit): 4.3.0-241231433, revision: github-musescore-musescore-5f36e74

Regression

No.

Operating system

Windows 11

Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.