Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MMRest bug #15778

Merged
merged 2 commits into from Mar 17, 2023
Merged

Fix MMRest bug #15778

merged 2 commits into from Mar 17, 2023

Conversation

mike-spa
Copy link
Contributor

@mike-spa mike-spa commented Jan 9, 2023

Resolves: #15561

The issue was, in part, due to a couple of errors in the handling of the MMRest themselves (specifically, not correctly taking into account items before the MMRest but in the same bar) . Those are now fixed. The vtests differences will show the corrected results.

The other part is more trivial, i.e. that the minimum width for MMRests is set by default to 4 sp (Style -> Rests). This makes no sense, given that the minimum width for normal measures is 8sp and MMRests should never be narrower than normal measures. I propose raising the default value to 6sp. Considering that MMRests also have two enforced margins that are set by default at 1.2sp, the resulting minimum possible width of an MMRests measure is 8.4sp, which ensures they can never be narrower than a single empty measure.

@oktophonie oktophonie added the vtests This PR produces approved changes to vtest results label Jan 10, 2023
@RomanPudashkin
Copy link
Contributor

@mike-spa any new vtests/utests?

@mike-spa
Copy link
Contributor Author

@RomanPudashkin the changes show up in many of the existing vtests already (basically, all that contain MMRests), so there's no need to add more. They are going all green just cause @oktophonie put the vtest label on this PR :)

@oktophonie
Copy link
Contributor

(I even checked the vtests again to be sure, the changes still all look beautiful to me.)

@RomanPudashkin RomanPudashkin merged commit 22f523f into musescore:master Mar 17, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vtests This PR produces approved changes to vtest results
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MU4 Issue] Problems with measure rest and multibar rest width
3 participants