Undoing timewise delete does not restore slur position if the slur spans for a whole number of measures
- Create a new score.
- Place two notes so that they are on the same beat in different measures (for example, like shown in the picture below).
- Connect them by a slur.
So you get something like this:
- Select the second note.
- Press Ctrl + Del.
- 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:
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
If it can be agreed that performing a timewise delete on one of the endpoints of a slur should delete the slur, then I have a patch that fixes this issue. See https://github.com/musescore/MuseScore/pull/3814.
The new version of my patch no longer deletes the slur if one of its endpoints is removed.
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
Fixed in branch master, commit a13cfc05fa
Merge pull request #3814 from mattmcclinch/274280-time-delete
fix #274280: Undoing timewise delete does not restore slur position
Automatically closed -- issue fixed for 2 weeks with no activity.