Text is getting deleted while typing

WHAT IS THE BUG

Text is deleted while typing quickly. It occurs in any text space within the app. It only occurs when texting moderate-fast. It deletes every 4th letter.

HOW TO REPRODUCE IT

  1. Open any page in Anytype app.
  2. Begin typing quickly. (Moderate-Fast)
  3. Notice every 4th or 5th letter missing from your text.

THE EXPECTED BEHAVIOR

Continue typing as normal. No problems with any other app or software on same Macbook.

ADDITIONAL CONTEXT

Text used to jumble in the past but now it seems to exclusively be deleting text when typing quickly.

SYSTEM INFORMATION

Device:
Macbook Pro 13-inch, M1, 2020 with M1 Apple Chip

OS:
Ventura 13.0.1

Anytype Version:
v.0.34.0

Tech Info:
Using standard keyboard.

I have the same issue that you had in the past, where the text would be jumbled up.

It appears to be due to the syncing service as it goes away when offline. I live in Australia which is quite far away from the backup node in Switzerland, so my latency would be pretty high.

It seems to happen when it synchronizes while I’m typing quickly, my cursor gets moved by itself usually one character to the left, jumbling up whatever I’m typing.

I’ve noticed it happening while editing object names and descriptions, but not while writing in the main body of an object thankfully. I did a bit of testing, it only seems to happen when editing the object name / description of the currently open object (i.e. not when editing another object from a Set view)

It only happens when typing fast; my guess is that when typing slowly it gives the sync service enough time to do its thing between keystrokes.

OS version: win32 x64 10.0.22621
App version: 0.34.3
Build number: build on 2023-08-16 11:07:20 +0000 UTC from  at #2815587c8afa3f81e75336226cacecb7fe105e9c(v0.27.21)
Library version: v0.27.21

Good luck devs :heart:

3 Likes

I have the same problem. It seems that when typing and making a small pause, the cursor does not position itself at the end of the line, but before the last character. I have version 0.34.3 on Windows 11 PC

It’s happening something similar with me but apperantly it’s not deleting, the cursor is just moving one character to the left. I haven’t found yet what triggers the bug, it’s not happening that consistently to me.

Edit: doing some tests again, I’ve seen it happening more than once at objects of type “Task” and with the title. Additionally, after deleting the characters, it also deletes the character that was after the cursor.

I was able to record it happening.

The cursor jumping is a known issue, the devs are aware of it. This fast typing thing though is a new one for me and I can’t reproduce it.

@Road2Potential you switch to Version > Pre-Release in the top menu, and see if it still happens with the update to 0.34.3? If so, can please provide a screen-recording for the devs.

Thanks!

2 Likes

Have you got your spell check switch on in Anytype? If so, switch it off and try again. I had something similar happen to me but after disabling this feature it got rid of my issue…

1 Like

I have been trying to reproduce this and it seems most obvious in the Title and Description relation.

1 Like

Hey everyone, this one has been fixed, right?