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 #266205: do not deselect elements in Score::selectAdd #4063

Merged
merged 1 commit into from
Oct 26, 2018

Conversation

dmitrio95
Copy link
Contributor

This patch fixes the issue with "select similar elements" feature not working in some circumstances (at least when applied to ties). The proposed solution is to remove deselection of elements from Score::selectAdd since it is not an expected behavior of this function and all of those chunks of code that use this function do not rely on such a behavior. Deselecting selected elements on Ctrl+click is already handled in ScoreView so this functionality is not broken by this patch.

The fact that Score::scanElements can scan some elements more than one time can also be considered an issue but I believe that it is much more important for it to touch all elements rather than aim for doing it one time only. So this issue can be postponed I guess.

There is also a suspicious usage of Score::select in ChangeElement::flip but there is probably some typo there. The question is what kind of typo is there exactly.

@anatoly-os anatoly-os merged commit 82b4dd1 into musescore:master Oct 26, 2018
@dmitrio95 dmitrio95 deleted the 266205-fix-select-similar branch April 30, 2019 09:11
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