Ties end at wrong note

• Dec 23, 2020 - 17:16
Reported version
3.5
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project
  1. Open attached score (produced in 2.x).

Result: Ties end at the wrong note.
Ties end at wrong note.png

Using MuseScore 3.5.2 and 3.6 beta 1 - Mac 10.11.6.

Attachment Size
Ties end at wrong note.mscz 3.33 KB

Comments

Status active needs info

I can confirm this score loads differently in 3.x vs 2.x, but it isn't clear how it got into this state, but it seems the file itself may have confusing info (apparently conflicting tie and spanner id's, but I've forgotten the details about how the 2.x file format worked). Can you recreate this scenario from scratch?

I think it was originally produced in 1.x and info copied over to a 2.x score. I'm not yet able to recreate from scratch.

Is it possible to fix this anyway?

Status PR created fixed

Fixed in branch 3.x, commit b5a12163bc

_Fix #314696: Ties end at wrong note

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

When reading the properties of a tied note from a 2.x score, check to see if the specified pitch matches the pitch of the note at the beginning of the tie. If the pitches do not match, then print a debug message to the console, and set the pitch of the new note to match the pitch of the starting note._

Fix version
3.6.0