Undo text cut does not work when using keyboard shortcut command+x

Operating system

macOS

Joplin version

3.1.20

Desktop version info

Joplin 3.1.20 (prod, darwin)

Client ID: 4e716bdd72344d159ea6991d7a99f76b
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 8199362

Backup: 1.4.2

Editor

Markdown Editor

What issue do you have?

A user cannot undo (command+Z) a text cut (command+x). This only happens with keyboard shortcut. It does work if you select edit/cut with the mouse.

I noticed this issue months ago when I cut text to move it to a new note and accidently selected (command+x) again at my target location. The text is lost all together. Can not undo the cut from the original location and cut again.

I finally decided to test why this happened and realized this only occurs when using the keyboard shortcut to cut.

Step to recreate:

  1. write text
  2. highlight the text and select command+x
  3. select undo or type anything and hit undo back to where you cut
    results: it will undo actions up to and past the command+x, but will not undo the cut.

once again, this does work correctly if a user selects edit/cut from the menu.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.