Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undo/redo broken #1445

Open
gingerbeardman opened this issue Dec 22, 2022 · 3 comments
Open

Undo/redo broken #1445

gingerbeardman opened this issue Dec 22, 2022 · 3 comments

Comments

@gingerbeardman
Copy link
Collaborator

gingerbeardman commented Dec 22, 2022

Description

Undo/redo is broken for me on iOS.

To Reproduce

  1. Edit some text using iOS features
  2. Cut a section
  3. Paste it elsewhere
  4. Type some new text

Tap with three fingers to bring up the iOS edit menu

  1. Undo multiple steps
  2. It will probably mess up
  3. Redo several times
  4. It will mean up some more

Danger: your text will be messed up and possibly some text will be unrecoverable and lost.

Expected behavior

  • undo/redo should be reliable!

FSNotes version

5.0.4

macOS/iOS version

16.1.2

Additional context

Reminds me of #408 #474 #531 #563 etc

@tewe
Copy link

tewe commented Dec 26, 2022

I don't use FSNotes on iOS, and this is a guess, but if you want to find a minimal way to reproduce this I recommend typing Markdown formatting characters. There are two actors messing with the text view/store: the user and the highlighting. Getting this right is hard.

@gingerbeardman
Copy link
Collaborator Author

Appreciate your suggestion, but during editing when this happened I was only cutting and pasting.

@nth-chile
Copy link
Contributor

I'm having issues with undo on iOS and cmd+z on macOS. Also on iOS, Cut cuts the text but doesn't copy it to the clipboard. That means you get deleted text without undo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants