Redo broken on Mac

With Obsidian v1.0.3 on MacOS 12.6.1, using Redo from the Edit menu is broken.

Steps to reproduce

From Obsidian v1.0.3 on a mac, open the Sandbox vault, and type a new word to add it to the document.

Using Edit → Undo (or cmd-Z) undo your addition to the document.

Use Edit → Redo, and realize that it doesn’t work to reapply the addition.

(cmd-shift-Z does work, however)

Expected result

I would expect that Edit → Undo , followed by Edit → Redo would result in an unchanged document.

Actual result

Instead of an unchanged document, Undo appears to be destructive because the user’s request to Redo their changes is ignored.

If the user accidentally triggered an undo operation in an otherwise stable note, they may lose data and not know how to get it back.

Environment

  • Operating system:
  • Debug info:

SYSTEM INFO:
Obsidian version: v1.0.3
Installer version: v1.0.3
Operating system: Darwin Kernel Version 21.6.0: Thu Sep 29 20:11:33 PDT 2022; root:xnu-8020.240.7~1/RELEASE_ARM64_T8110 21.6.0
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

1 Like

thanks

I think this may also be the reason why “Command + Shift + Z” for redo on a Dvorak keyboard doesn’t work as well.