Missing tie in part after paste

• Feb 12, 2021 - 20:19
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project
  1. Create a new score for one instrument with a 4/4 time signature.
  2. Generate parts.
  3. Add a whole note in measure 1.
  4. Split the full measure rest in measure 2 into two half rests.
  5. Select measure 1, copy, and paste into the second half of measure 2. As expected, the whole note has been pasted as two half notes tied together.
  6. Switch to the part tab.

Expected result:
The two half notes in the part are tied together, just like in the master score

Actual result:
There is no tie between the half notes in the part.


Comments

Status PR created fixed

Fixed in branch 3.x, commit f30fef162e

_Fix #317424: Missing tie in part after paste

Resolves: https://musescore.org/en/node/317424.

When a tie is created as a result of pasting a note that is too long to fit in the measure, ties must be added to the corresponding notes in any and all linked scores. This is accomplished by using the undoAddElement() function to add the tie, rather than simply using setTieFor() and setTieBack() on notes in the current score._