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

[MU4] Fix #331840: Crash on creating a 4-or-higher tuplet on a 512th or an 8-or-higher tuplet on a 256th #11561

Closed
wants to merge 1 commit into from

Conversation

Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz commented May 7, 2022

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

Applies to 3.x too.

@Jojo-Schmitz
Copy link
Contributor Author

It does also prevent otherwise working 4- and 5-lets on dotted 512th, but IMHO that is a rather small price to pay, isn't it?

Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 7, 2022
and return from creating an invalid tuplet early, this should fix https://musescore.org/en/node/331840, "Creating a 4-or-higher tuplet on a 512th or an 8-or-higher tuplet on a 256th crashes Musescore", it at least prevents the crash.
It does not bring up the "Tuplet too short" dialog though, for that see musescore#11561.
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 7, 2022
and return from creating an invalid tuplet early, this should fix https://musescore.org/en/node/331840, "Creating a 4-or-higher tuplet on a 512th or an 8-or-higher tuplet on a 256th crashes Musescore", it at least prevents the crash.
It does not bring up the "Tuplet too short" dialog though, for that see musescore#11561.
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 7, 2022
 or an 8-or-higher tuplet on a 256th

Sort of a backport of musescore#11560 (without the `std::gcd()` part) and musescore#11561.
igorkorsukov pushed a commit that referenced this pull request May 9, 2022
and return from creating an invalid tuplet early, this should fix https://musescore.org/en/node/331840, "Creating a 4-or-higher tuplet on a 512th or an 8-or-higher tuplet on a 256th crashes Musescore", it at least prevents the crash.
It does not bring up the "Tuplet too short" dialog though, for that see #11561.
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 12, 2022
 or an 8-or-higher tuplet on a 256th

Sort of a backport of musescore#11560 (without the `std::gcd()` part) and musescore#11561.
@Jojo-Schmitz Jojo-Schmitz mentioned this pull request Jan 9, 2023
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 5, 2023
 or an 8-or-higher tuplet on a 256th

Sort of a backport of musescore#11560 (without the `std::gcd()` part) and musescore#11561.
@Jojo-Schmitz
Copy link
Contributor Author

Jojo-Schmitz commented Jun 11, 2023

Seems not needed anymore and doesn't have the restrictions mentioned further up

@Jojo-Schmitz Jojo-Schmitz deleted the crash-tuplet branch June 11, 2023 13:22
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

1 participant