Ctrl-z should keep the notes that were selected, selected.

• Oct 30, 2019 - 15:39
  • Select a number of dotted notes via ctrl-L. click.
  • Delete the notes.
  • Ctrl-z.

Expected: Notes that were selected should remain selected as one may want to do another operation (E.g.: remove the dot).

Actual result: the notes are returned but all are de-selected.

Addendum:
The notes selected were in score view. When re-selected via ctrl-rt click followed by "dot" the dots were removed from those dotted notes. When notes are selected via "select top note/shift-rt click bottom note" and then "dot", the dot does not do the delete.


Comments

Starting in version 3.3, ctrl+z will select what is undone and adjust the screen so you can see what is selected. There will be no more mystery selections when you undo. This is the expected behavior in most programs.

FWIW, it's "hard" to manage selections across undo because technically speaking, it's not the same notes any more but new copies that are inserted - the originals are long gone. And any code that tries to access those now-deleted elements will crash, which is actually the main reaosn you sometimes see crashes on undo or redo. But, that said, we do try to restore selections where possible, and 3.3 should improve things.

Do you still have an unanswered question? Please log in first to post your question.