musescore / musescore/MuseScore

Clear and undo with linked staff corrupts score in specific circumstance

Open
#19,144 1 comment 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Issue type

File corruption

Bug description

(Looking for a way to create a more minimal example)
Clearing the measure with linked tab staff (included capo, key sig change, staff text, custom trill, tempo change) then undoing leads to score corrupting.

Steps to reproduce
  1. open the attached score
  2. Select measure 3 both guitar staves
  3. Clear measures
  4. Undo
  5. The "2" in the tab staff disappears and saving shows the score became corrupted
Screenshots/Screen recordings

https://github.com/musescore/MuseScore/assets/69917893/a83ef432-97dd-4f30-8ae6-b6e23c7748fc

MuseScore Version

4.1.1 and Master

Regression

No.

Operating system

OS: macOS 11.6

Additional context

SmokeCorrupt.zip

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.