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 #278865, fix #279521: reuse system elements layout code in linear mode #4332

Merged
merged 1 commit into from Dec 10, 2018

Conversation

dmitrio95
Copy link
Contributor

@dmitrio95 dmitrio95 commented Dec 6, 2018

This PR tries to address a number of issues with continuous view layout by reusing the code for layout of elements belonging to the whole system in page mode. This should help to reduce number of issues that originate from desynchronizing of code for page layout and linear layout. Still this does not resolve all the issues with continuous view, for example, tempo issues with voltas are still remaining.
Still at least these two issues seem to be resolved by this PR:
https://musescore.org/en/node/279521
https://musescore.org/en/node/278865

There may be some concerns regarding performance of this solution but my tests with release builds did not show any noticeable difference. Though optimization issues regarding linear layout still should be addressed at some point later.

P.S. Yes, the branch name slightly mismatch the actual result.

@MarcSabatella
Copy link
Contributor

Actually, see https://musescore.org/en/node/278153#comment-874239 - the tempo / volta problem is not just continuous view. Apparently it is an issue any time the tempo text and volta are on the same system. So maybe there is hope that this approach can solve that problem as well?

@anatoly-os anatoly-os merged commit ebdc80a into musescore:master Dec 10, 2018
@dmitrio95 dmitrio95 deleted the layoutlinear-overhaul branch April 30, 2019 09:10
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

3 participants