Skip to content

Instrument names on hidden staves affect system indentation #31577

@Reedbeta

Description

@Reedbeta

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

Metadata

Metadata

Assignees

Labels

engravingShape, position, or ability to notate musical symbols & text in the scoreneeds reviewThe issue needs review to set priority, fix version or change status etc.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions