musescore / musescore/MuseScore

[MS3] Single objects in Main Score appear duplicated in Parts

Open
#16,432 4 comments 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug

A bit of MuseScore 3 history

This issue exists in MS3 scores that have Parts, Linked Tablature, On adding various types of non-note object, and then performing Close/Reopen cycle the following result occurs: Some single objects in Main Score appear duplicated in Parts. Possibly related to https://github.com/musescore/MuseScore/issues/16428

I'm unable to fix the Part manually by deleting either of the duplicate objects in the Parts. Deleting either Part object deletes both ... and deletes the single linked object in the main score. (Interestingly, it's possible to change the x,y location of the duplicates.)

I was hoping opening such scores in MS4 would purge the problems, but the result looks identical to me on MS4 open.

To Reproduce

Open the attached scores in MS3 and MS4 to see objects that display in duplicate:
duplicate-objects-in-parts-sample-scores.zip

Alternately, to reproduce in MS3, follow the steps in the Issue Tracker thread or the forum discussion cited below.

Sometimes pressing m (toggling "compressed rests") in the Part with m reveals duplicates where none were seen while compressed rest was off.

See also

Issue tracker report #334084
Forum discussion of MuseScore 3 trigger and steps to replicate

Expected behavior
No spurious duplicates in Parts.

Platform information
OS: MacOS, confirmed on Windows

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.