Zotero 7: Problems with undo/redo in notes

edited September 5, 2023
The Edit -> Undo/Redo menu options are not activated correctly.

Steps to reproduce:
1) Create a new Standalone Note. The focus automatically jumps to the note, so I can start writing immediatly, without additional click.
2) Write something in the note. At this stage, the Edit -> Undo/Redo menu options are still greyed.
3) Press Ctrl+Z: The undo works correctly from the shortcuts, even though it is still greyed in the menu.
4) Write some text in the note.
5) Click in the note. At this stage, the Edit -> Undo menu option appears available. So clicking in the note is required to activate the Undo menu option.
6) Click on Edit -> Undo. After undoing, the Edit -> Redo menu option is still not available. Even clicking in the note again does not activate the Redo menu option.
The shortcuts Ctrl+Y or Ctrl+Shift+Z are working properly, even though the menu option is not available.
7) Press Ctrl+Z multiple times until you go back to the original empty note. At that stage, the Edit -> Undo menu option still appears available, even though there is nothing to undo anymore.
See the screen recording for the steps above.

Another related issue:
After I drag & drop something to the note, I would expect the focus to go to the note, so that I can start writing text in there. But at the moment, a drag & drop does not put the cursor in the text. So I must click in the note before I can actually start writing.
This in itself is not too bad. But the consequence of this is that I cannot undo a drag & drop directly after doing it. I must first click in the note, and then only the Undo becomes available from Ctrl+Z shortcut.

Another related issue:
The note editor in a separate window does not have any menu bar at the top. So it does not have any menu access to Undo/Redo. The only way to Undo/Redo is through shortcuts.
- If you simply open a note in the note editor in a separate window, type some text and then go to the menu in the main Zotero window, the Undo menu option is not available.
- Now, if you open the same note in both the main Zoteor window and in a separate window, the Edit -> Undo menu option can still appear available, even though it does not do anything:
1) Create a new Standalone Note.
2) Open it in a separate window
3) Go back to the note in the main Zoteor window and type some text. Click on the text to make sure that the Edit -> Undo menu option becomes available.
4) Click on the text in the note in the separate window.
5) Type some text. At this step, the Edit -> Undo menu option in the main window is still available. But it does not do anything anymore.

Tested on Windows 10 and Windows 11 for Zotero 7.0.0-beta.39+ecba25be0 (64-bit)
Thank you very much!
Sign In or Register to comment.