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 computation of smallness for tuplets #9850

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

asattely
Copy link
Contributor

The problem:
image

The issue was that a tuplet is set to small if all of its elements are small chordrests. More accurately, it is set to regular size if any of its elements are normal-sized chordrests. This fails for tuplets whose elements are only other tuplets, and the containing tuplet remains small.

Since tuplets are laid out from contained to containing, the fix adds an isSmall value which is set in the layout function, which layout checks in a way similar to how it checks the smallness of chordrests:
image
image

@asattely
Copy link
Contributor Author

asattely commented Nov 23, 2021

Aaaaaand the build fails. Seems to not be able to find Qt in the windows build environment

@cbjeukendrup
Copy link
Contributor

Root cause seems that it fails to install wget, and therefore it fails to download the dependencies. Probably a temporary issue.

@asattely
Copy link
Contributor Author

asattely commented Nov 23, 2021

Yeah, likely. None of the changes I've made should affect any of that so I'll just push an empty amend commit in a little bit and see if it fixes itself

edit: looks like it did!

Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 23, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 24, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 24, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 24, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 24, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
@igorkorsukov igorkorsukov merged commit b748bdf into musescore:master Nov 24, 2021
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 26, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 28, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 28, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Nov 30, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Dec 7, 2021
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 12, 2022
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
Jojo-Schmitz pushed a commit to Jojo-Schmitz/MuseScore that referenced this pull request Mar 5, 2023
Tuplets will now be small if all containing elements are either 1) small chordrests or 2) tuplets with all small chordrests or tuplets

Backport of musescore#9850
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.

[MU4 Issue] In nested tuplets, numeral of outer tuplet is resized in some situations
4 participants