Skip to content

Remove stemArrangement property from Slur #28152

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

Merged

Conversation

mike-spa
Copy link
Contributor

Resolves: #28151

Everything about this is wrong. This property was created to only work on copy-paste and never gets updated during layout. In this case, it gets copy-pasted from the palette element and results in the slur grip points getting constantly reset (saving-closing-reopening the file fixes it as the property is then forgotten).

@mike-spa mike-spa requested a review from miiizen May 26, 2025 10:24
@@ -1018,7 +1010,7 @@ void SlurTieLayout::avoidCollisions(SlurSegment* slurSeg, PointF& pp1, PointF& p
}
} else if (!slurSeg->isEndPointsEdited()) {
// In the odd iterations, adjust the end points
// Slurs steeper than 45° are gently compensated
// Slurs steeper than 45° are gently compensated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder what happened here (was it Uncrustify? 😄)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Urghhhhhhhhhh yes

@mike-spa mike-spa force-pushed the removeStemArrangementPropertyFromSlur branch from 3fb083a to 73bed13 Compare May 26, 2025 12:55
Copy link
Contributor

@miiizen miiizen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, too hasty - some tests need updating

@mike-spa mike-spa force-pushed the removeStemArrangementPropertyFromSlur branch from 73bed13 to 1fac9f1 Compare May 28, 2025 11:58
@miiizen miiizen merged commit b66f3c6 into musescore:master May 28, 2025
12 checks passed
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.

Slur uneditable when entered from palette on specific arrangement
4 participants