Selection lost on paste to single note

• Apr 27, 2019 - 16:06
Reported version
3.0
Priority
P1 - High
Type
Ergonomical (UX)
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

1) enter three or more notes
2) add some element - e.g., text or an articulation - to first note
3) select the added element
4) copy
5) click second note
6) paste

Result: selection is lost. In 2.3.2, the note would stay selected, so you could then press Right to move to the next note, paste again, etc. This regression is counter to the recent effort to improve retention of selection as per Tanatacrul video.

Isssue was introduced here:

https://github.com/musescore/MuseScore/commit/7eacacb5115844b318ef15ade…

I guess the crash would have occurred only when pasting a note on top of another note, thus replacing the note. Not sure if there is a good way to detect that here and deselect in that case only? Or hold off on the deselection until later on when we do note what we're dropping? Or just make sure we select something reasonable afterwards, but really, you want to select the very same note (could be the third note of a four-note chord, for example, when pasting fingering).


Comments

Fix version
3.1.0