Skip to content

Conversation

@mike-spa
Copy link
Contributor

Resolves: #30578

Second part of the fix (this should NOT be ported to 4.6.4). Please merge #30713 first.

Part of the issue results from the fact that, when all staves are hidden, some (but not all) layout steps are skipped, and as a result the horizontal spacing logic computes garbage (in fact we also get an assertion failure when trying to justify the empty system). It's worth introducing some more checks to make sure that in this edge case we skip all the unnecessary calculations and, in the case of horizontal spacing, just return zero.

@mike-spa mike-spa merged commit bf4ce62 into musescore:master Oct 24, 2025
12 checks passed
@Jojo-Schmitz Jojo-Schmitz mentioned this pull request Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invisible measure number on second system stays visible when hiding multi-staff instrument in layout panel

3 participants