Space for instrument name of hidden staff is reserved
Reported version
3.0
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project
Repro steps
1. Create a score with 2 different instruments and 1 measure
2. Enter a note in the first staff
3. Remove the instrument name of the first staff
4. In Style: Hide empty staves
Expected behaviour:
Only the first staff is visible and starts right at the left margin, because there is no instrument name visible
Actual behaviour:
Only the first staff is visible but there is a gap at the left side of the width of the hidden staffs instrument name.
Comments
Workaround: delete the instrument name
In reply to Workaround: delete the… by Jojo-Schmitz
That prevents the name from being displayed at a later point in the score. If it's the long name it might be needed after a section break so I don't like the workaround.
Same for MS2: #270206: First system-indent with Hide Empty Staves.
Fixed in branch master, commit 9c8ca0fdb4
fix #277666 Space for instrument name of hidden staff is reserved
Automatically closed -- issue fixed for 2 weeks with no activity.
It seems the fix for this issue causes #278057: "Hide empty staves" hides non-empty staves when first measure is empty to happen. I reimplemented the fix to avoid that issue so I believe it would be good to mention it here: https://github.com/musescore/MuseScore/pull/4289.
And that pull request has since been merged.