Undoing timewise delete does not restore slur position if the slur spans for a whole number of measures

• Jul 13, 2018 - 14:45
Reported version
3.0
Type
Functional
Severity
S4 - Minor
Status
closed
Project
  1. Create a new score.
  2. Place two notes so that they are on the same beat in different measures (for example, like shown in the picture below).
  3. Connect them by a slur.
    So you get something like this:
    slur_before.png
  4. Select the second note.
  5. Press Ctrl + Del.
  6. Undo the last operation (Ctrl + Z).

Expected results:
Score is in the same state as after step 3.

Actual results:
The end of the slur has moved:
slur_after.png

The issue appears if I make the slur spanning for any whole number of measures, but all seems to work fine if a slur connects two notes that occupy different beats in two measures. For example, if the first note is in the beginning of the first measure and the second note is in the end of its measure undoing a timewise delete of the second note will return the slur to its correct initial position.

Tested for MuseScore 3 revision 5ef52f385ecba2e786f16c5e30454f983960abeb.


Comments

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit 5cb1b06839

fix #274280: Undoing timewise delete does not restore slur position if the slur spans for a whole number of measures