musescore / musescore/MuseScore

Undo/redo deleting clef after repeat adds clefs to part

Open
#32,162 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

Issue type

Engraving bug (incorrect score rendering)

Description with steps to reproduce
  1. Open a new score, open parts
  2. Add a repeat to the score and a clef change
  3. Delete the clef change, undo, redo (undo/redo several times for bonus clefs)
  4. See part
Image
Supporting files, videos and screenshots

https://github.com/user-attachments/assets/7f833c38-6ca2-4054-a5d5-b051ae7406a1

In which versions of MuseScore Studio is this issue present?

OS: macOS Tahoe (26.2), Arch.: arm64, MuseScore Studio version (64-bit): 4.7.0-260211044, revision: github-musescore-musescore-572193c

Regression

Yes, this used to work in a previous version of MuseScore 4.x

Operating system

MacOS Tahoe 26.2

Additional context

This has been an issue since 4.5.0, 4.5 had a much worse issue here that could crash the program, but that is no longer an issue.

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

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.