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 #291847 and GH#17428: Irregular measure not marked when followed by start repeat barline #17429

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz commented May 1, 2023

Resolves: #17428 and https://musescore.org/en/node/291847

Same issue and fix in/for Mu3

@Jojo-Schmitz
Copy link
Contributor Author

Hmm, for an end/start repeat barline it'd write that irregular marking twice.
Better twice than none?

@Jojo-Schmitz Jojo-Schmitz changed the title Fix #291847 and GH#17428 : Irregular measure not marked when followed by start repeat barline Fix #291847 and GH#17428: Irregular measure not marked when followed by start repeat barline May 1, 2023
@cbjeukendrup
Copy link
Contributor

It's even a bit more confusing when a start repeat barline is preceded by a system break:
Scherm­afbeelding 2023-05-01 om 23 15 18

There's probably a way to find out if the previous measure has an end barline (in which case we shouldn't show the sign on the start barline of the next measure). Maybe check if Measure::endBarLine() returns nullptr or not?

@Jojo-Schmitz
Copy link
Contributor Author

Check it where exactly and how? I tried out all sorts of combinations but none worked

@Jojo-Schmitz
Copy link
Contributor Author

I got the first issue solved, but not the second, the one with start repesat barlines after a system break
Any hints?

@Jojo-Schmitz Jojo-Schmitz marked this pull request as draft May 8, 2023 15:34
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request May 30, 2023
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Jun 23, 2023
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Aug 2, 2023
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Apr 10, 2024
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Apr 11, 2024
@Jojo-Schmitz
Copy link
Contributor Author

Hopelessly outdated

@Jojo-Schmitz Jojo-Schmitz reopened this Apr 11, 2024
@Jojo-Schmitz Jojo-Schmitz force-pushed the irregular-measures-start-repeat-barline branch from db6cdda to f99c5d2 Compare April 11, 2024 17:14
@Jojo-Schmitz
Copy link
Contributor Author

Rebased

@Jojo-Schmitz Jojo-Schmitz reopened this Apr 11, 2024
@Jojo-Schmitz Jojo-Schmitz force-pushed the irregular-measures-start-repeat-barline branch 2 times, most recently from 09bd955 to 5dc8ffd Compare April 11, 2024 17:22
@Jojo-Schmitz Jojo-Schmitz force-pushed the irregular-measures-start-repeat-barline branch from 5dc8ffd to fc6854b Compare June 8, 2024 12:47
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.

Irregular measure not marked when followed by start repeat sign
2 participants