musescore / musescore/MuseScore

Default instruments hidden in auto-created parts only become unhidden on reset when toggling between open parts

Open
#19,647 3 comments 0 reactions 1 assignee View on GitHub

@Eism is already working on this.

Since Oct 6, 2023.

P3 parts UI
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
  1. Open a score
  2. Open a part
  3. Hide the visible instrument in the Instruments panel
  4. In the Parts dialog, reset the instrument
  5. See that the instrument still appears as hidden in the Instruments panel
  6. Select another part tab (or the main score), then click back to the original part tab
  7. 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

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.