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
But I just noticed you said you’re new to Obsidian. So if you don’t already know, there is a “File Recovery” plugin installed by default. It takes snapshots of your notes. I recommend turning the “Snapshot interval” low, and the “History length” fairly long. (I use 3 minutes and 600 days, personally. Some people use 1 minute intervals.)
So if a bug like this, or a plugin, or anything else causes you to lose some data, you have one more way to help protect you.
It’s a known bug, so I’ll merge your thread there.
According to replies in this thread, cmd-shift-Z should still work, except possibly on some keyboard layouts. What keyboard layout or language region are you set to?
(I haven’t tested in Ventura yet, so that might also be a factor.)
I’m currently using the programmer Dvorak layout by Roland Kaufmann with the language region set to English (United States). Cmd-Shift-Z still does not work as of the latest update on Version 1.4.5 (installer 1.4.5), but I have found an alternative solution. Cmd-Shift-U happens to let you redo on both the Dvorak layout and standard QWERTY layout (on Mac Ventura 13.5.2 at least).