Skip to content

Fix #35264: Deleting a tuplet selects the last bar of the score - #35273

Draft
davidstephengrant wants to merge 1 commit into
musescore:mainfrom
davidstephengrant:dsg-delete-tuplet-selection
Draft

davidstephengrant wants to merge 1 commit into
musescore:mainfrom
davidstephengrant:dsg-delete-tuplet-selection

Conversation

@davidstephengrant

Copy link
Copy Markdown
Contributor

Resolves: #35264

Deleting a tuplet selected the start of the score's last bar. cmdDeleteSelection() had no tick case for a tuplet, so the tick stayed -1 and findCR() fell back to the last measure. It now uses the tuplet's tick, so the rest that replaces the tuplet is selected.

Screen.Recording.2026-10-16.at.13.26.19.mov

Assisted by Claude Code 2.1.290 (Claude Opus 5.5)

cmdDeleteSelection() had no tick case for a tuplet, so the tick stayed -1 and findCR() selected the start of the last measure.

Use the tuplet's tick, where cmdDeleteTuplet() puts the rest that replaces it.

Assisted-by: Claude Code 2.1.290 (Claude Opus 5.5)

This branch has not been deployed

No deployments
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.

Deleting a tuplet selects the last bar of the score

1 participant