musescore / musescore/MuseScore

Show/hiding multiple instruments from Instruments panel is inefficient and in some cases impossible (slowly in big scores)

Open
#18,245 6 comments 1 reaction 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

Issue type

Other type of issue

Bug description

Open a large file, for example Beethoven 9th.

  • Try hiding one of the instruments: the operations takes some time, but it will complete reasonably.
  • Use ctrl+shift to select a list of instruments (I was trying to hide all except Flute 1), and toggle them invisible.
  • The program becomes unresponsive and the operation never completes.

The program isn't frozen, it is still logging stuff on console, it just takes too long to perform the operation.

In general, I notice that the time it takes to show/hide a group of instrument depends on how many are selected. I suspect we may be calling a relayout after showing/hiding each of the instrument, which is unnecessary.

Steps to reproduce

See description.

Screenshots/Screen recordings

No response

MuseScore Version

Current master

Regression

No.

Operating system

Windows 11

Additional context

No response

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.