Android and iOS keyboard issue with undo

General TRichView support forum. Please post your questions here
Post Reply
whisper1980
Posts: 47
Joined: Sun May 25, 2025 6:41 pm

Android and iOS keyboard issue with undo

Post by whisper1980 »

Using your Editor2 demo, try this on Android (it does occur on iOS, but nowhere nearly as bad).

Type a few words, but leave the caret at the last word you typed (no space). Now type 3 more non-space chars and then start tapping the Undo more than 3 times. Watch the behavior to what gets undone. You should see the last word eventually get undone as expected, but then it starts coming back. It will do that 3 times before it starts undoing the other words you typed (but may repeat the same behavior). The undo buffer seems to have gone wonky (technical term).

If I have text already loaded, and I place the caret at the end of a word and tap a few chars, the undo will undo the existing word but will come back as you keep hitting the undo, at least on Android (don't see that on iOS).

TRichViewFMX v23
Delphi 12.3
Sergey Tkachenko
Site Admin
Posts: 17882
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Android and iOS keyboard issue with undo

Post by Sergey Tkachenko »

I need several days to complete the current work and check this issue. Sorry for the delay.
whisper1980
Posts: 47
Joined: Sun May 25, 2025 6:41 pm

Re: Android and iOS keyboard issue with undo

Post by whisper1980 »

No problem... this one is probably not urgent. It was just very weird that a customer might run into, so thought you might want to check it out. On android it did some bad stuff to a table, like delete it, or duplicate some text around the table, not on iOS though.
Post Reply