musescore / musescore/MuseScore

Instrument names on hidden staves affect system indentation

Open
#31,577 4 comments 0 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

engraving needs review
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Issue type

Engraving bug (incorrect score rendering)

Description with steps to reproduce

On systems past the first one, horizontal space is reserved for all instrument names even if the staves are not visible.

Steps to repro:

  1. Create a new score with two staves.
  2. Set both the "long" and "short" instrument names for the second staff to something lengthy (this is to exaggerate the effect).
  3. Turn on "automatically hide empty staves" under the score appearance properties, and turn off "don't hide empty staves in first system".

Result: the first system has a normal amount of space for the instrument name, but the second and later systems have excessive indentation (see screenshot below).

Here is the score file: instrument names test.zip

Supporting files, videos and screenshots
Image
In which versions of MuseScore Studio is this issue present?

4.6.5, master

Regression

I was unable to check

Operating system

Windows 10

Additional context

No response

Checklist
  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible

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.