musescore / musescore/MuseScore
Default instruments hidden in auto-created parts only become unhidden on reset when toggling between open parts
@Eism is already working on this.
Since Oct 6, 2023.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Issue type
UI bug
Bug description
When the initial instrument in an auto-created part is hidden, then the part is reset, the instrument reappears in the score but it still appears as hidden in the Instruments panel. The user has to toggle between open part tabs to see the default instrument as un-hidden.
Steps to reproduce
- Open a score
- Open a part
- Hide the visible instrument in the Instruments panel
- In the Parts dialog, reset the instrument
- See that the instrument still appears as hidden in the Instruments panel
- Select another part tab (or the main score), then click back to the original part tab
- See that the instrument now appears as un-hidden in the Instruments panel
Expected behaviour
When the user resets an auto-created part, the default instrument for that part should immediately appear as visible (in both the score and the Instruments panel) without the user needing to toggle back and forwards between part tabs.
Screenshots/Screen recordings
https://github.com/musescore/MuseScore/assets/20806406/1e6a3624-4ecf-463d-9f63-9b214e45b157
MuseScore Version
MuseScore version (64-bit): 4.1.1-232071203, revision: github-musescore-musescore-e4d1ddf
Regression
I don't know
Operating system
OS: macOS 13.4, Arch.: x86_64
Additional context
Another issue related to resetting auto-created parts: 16532.
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.