Feature: Change default behavior when pasting tuplet

• Apr 20, 2019 - 19:31
Reported version
3.0
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

Original Post: https://musescore.org/en/node/287984

Instead of blocking users from pasting "into" tuplets, I suggest replacing the original one with the clipboard content (new tuplet, or otherwise). That would allow, for example, the user to copy a duplet, click on the first note of triplet, and hit paste to replace it. The triplet would be automatically deleted before the duplet is pasted. Right now, the user gets a dialogue box "Cannot past into tuplet" even when the tuplet is not being pasted "into" another tuplet but is completely replacing it. Consequently, the user has to delete the tuplet manually before pasting new content in its place.


Comments

I agree. This error should only happen when the users selects a note in the tuplet and the entire tuplet will not be replaced with the paste. The fix should also allow for pasting text to notes in a tuplet without an error.

Status PR created fixed

Fixed in branch master, commit 5f079ced2c

_fix #52906, fix #279990, fix #288019: relax restrictions on pasting to tuplets

1) Pasting symbol lists (lyrics, dynamics, chord symbols etc.) to
tuplets work correctly so we don't need to impose any restrictions
here.

2) Pasting a staff range to the first chord/rest of a tuplet correctly
replaces the tuplet with the clipboard content. We need to restrict
pasting a range only if trying to paste to the middle of a tuplet._

Fix version
3.3.3