musescore / musescore/MuseScore
Unnecessary key signature added when adding a local key signature on a measure that used to contain a header
Open
Nobody has claimed this yet.
engraving
P3
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
Engraving bug
Bug description
No response
Steps to reproduce
- Create a document with more than one instrument.
- Give it a key signature different from C.
- Place a line break such that, for example, the last two measures of the first system are pushed to the second system.
- Select the third measure of the second system (this is the measure which, before inserting the line break, used to contain the header key signature).
- Add a local key signature to the first staff by ctrl + palette click.
- See that an unnecessary key signature will also be generated in all the other staves. Furthermore, this unnecessary key signature cannot be deleted.
Screenshots/Screen recordings
https://github.com/musescore/MuseScore/assets/93707756/d8af8965-6066-4ea3-a1e0-06b59d749f86
MuseScore Version
Current master
Regression
No.
Operating system
Windows 11
Additional context
The bug also exists in version 4.0
Fixed in https://github.com/musescore/MuseScore/pull/18279 but the commit in question had to be reverted as it was causing other issues.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.