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 #297468: fix a crash on reading a corrupted score with linear layout mode in part #5504

Closed

Conversation

dmitrio95
Copy link
Contributor

Resolves: https://musescore.org/en/node/297468

In a corrupted score tick values may sometimes be not synchronized between master score and parts. This may lead to incorrect setting of layoutAll flag as ticks from different scores are compared. Ensuring that only master score ticks are compared fixes layoutAll flag for scores corrupted that way and prevents a crash due to not making a full layout on score loading. This change makes no difference for correctly saved scores.

…out mode in part

In a corrupted score tick values may sometimes be not synchronized
between master score and parts. This may lead to incorrect setting
of layoutAll flag as ticks from different scores are compared.
Ensuring that only master score ticks are compared fixes layoutAll
flag for scores corrupted that way and prevents a crash due to not
making a full layout on score loading. This change makes no
difference for correctly saved scores.
@anatoly-os anatoly-os added this to the Musescore 3.3.4 milestone Dec 2, 2019
@dmitrio95
Copy link
Contributor Author

Merged manually: c8a2753

@dmitrio95 dmitrio95 closed this Dec 2, 2019
@dmitrio95 dmitrio95 deleted the 297468-corrupted-score-crash branch December 2, 2019 10:32
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.

None yet

2 participants