musescore / musescore/MuseScore

courtesy clef in ossia staff appears in main staff

Open
#33,893 0 comments 0 reactions 2 assignees View on GitHub

@miiizen is already working on this.

Since Jun 23, 2026.

engraving P3
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. create score with one staff
  2. have at least two bars with a line break
  3. create ossia staff for the same instrument
  4. change clef in the second bar of ossia (image1)
  5. now delete the notes in the first ossia bar -> courtesy clef goes to main staff (image2)
  6. also note-lines from ossia staff are visible (image 3)
Supporting files, videos and screenshots

Image 1
Image

Image 2
Image

Image 3
Image

In which versions of MuseScore Studio is this issue present?

4.7.3

Regression

I was unable to check

Operating system

macOS 26.4

Additional context

No response

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.