musescore / musescore/MuseScore
"Replace Instrument" doesn’t update clef name in instruments panel
Open
@Eism is already working on this.
Since Jun 18, 2024.
P3
UI
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
UI bug (incorrect info or interface appearance)
Bug description
Replacing an instrument with an instrument that has a different clef does not update the name of the clef in the instruments panel.
Steps to reproduce
- Make a new score with just a viola (which has an alto clef).
- Go to the instruments panel and click the gear beside the instrument name.
- Choose "Replace instrument" and replace it with a violin (which has a treble clef).
- Click the disclosure triangle to reveal the staves. See the issue: the staff name still says "Alto clef".
- Hide and unhide the staff and notice that the staff name updates to "Treble clef".
Screenshots/Screen recordings
https://github.com/musescore/MuseScore/assets/163907533/4b2236df-83f9-4021-b81b-de62b123642c
MuseScore Version
4.3.2
Regression
No
Operating system
macOS 12.7.2
Additional context
Closing and reopening the score also updates the clef name.
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.