musescore / musescore/MuseScore

Adding multiple local key signatures is buggy

Open
#30,902 4 comments 0 reactions 1 assignee View on GitHub

@zacjansheski is already working on this.

Since Nov 7, 2025.

community needs review needs testing UX/interaction
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

UX/Interaction bug (incorrect behaviour)

Description with steps to reproduce
  1. Open a new score with multiple instruments (e.g. orchestra)
  2. Randomly add local key signatures to various instruments.

Expected behaviour:
The local key signature is always added to the chosen instrument.

Actual behavior:
At some point in addition to the correct one, there are random other key signatures in other instruments added.

Supporting files, videos and screenshots

Example 1:
https://github.com/user-attachments/assets/49ddc20a-00dd-4527-8e52-d5108fc92712

Example 2:

https://github.com/user-attachments/assets/4c9c7fe6-0d9c-44df-a9fc-0f9ceb3c3f8a

Other random results (notice the bug doesn't always appear):

Image Image Image
In which versions of MuseScore Studio is this issue present?

4.5.2 – 4.7.0-253080322

Regression

I was unable to check

Operating system

mac OS 12.7.6

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.