8000 Letters disappear randomly while typing fast · Issue #1361 · anyproto/anytype-ts · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Letters disappear randomly while typing fast #1361

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

Open
3 tasks done
lukas-mertens opened this issue Apr 19, 2025 · 10 comments
Open
3 tasks done
8000

Letters disappear randomly while typing fast #1361

lukas-mertens opened this issue Apr 19, 2025 · 10 comments
Labels
bug Something isn't working

Comments

@lukas-mertens
Copy link

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

When I am typing fast, letters simply disappear randomly, after I typed them. I believe this might have something to do with the way anytype syncs changed between different devices.

It looks like this:

CleanShot.2025-04-19.at.16.15.59.mp4

Expected Behavior

I can just type as fast as I want to

Steps To Reproduce

On MacOS with the latest version from homebrew installed (currently 0.46.1), open any page and start typing quickly

Environment

- OS: MacOS
- Version: 0.46.1

Anything else?

No response

@lukas-mertens lukas-mertens added the bug Something isn't working label Apr 19, 2025
@CommanderBaman
Copy link

I am facing the same issue.
But in my case it is a little severe. Sometimes whole word gets deleted. One time I switched to another app and my whole paragraph was deleted.

I think it is because I don't have a very stable internet connection. But that should not be the case as it is storing things locally. I don't want a realtime sync if this issue occurs repeatedly.

I am on Ubuntu 24.04 using the v0.46.1 update.

@elvishcraftsman
Copy link

Same issue happening here on Fedora 42. I'm also on the 0.46.1 version. For me it's happening even if typing slowly. There's also a problem with how numbered lists are showed.

Screencast.From.2025-04-20.12-47-28.mp4

@deff7
Copy link
Member
deff7 commented Apr 21, 2025

Hello! I'm trying hard to reproduce this issue on my system, but still can't. Can you please provide me more information about your setup?

  1. Do you use another devices with Anytype? Which versions of each app do you use?
  2. Did you changed data directory location to something like cloud drive?
  3. Were you using multiple windows of Anytype when you encountered this bug?
  4. Do you use any kind of side app connected to Anytype through API?
  5. Did you share a space with bugged object?

I'll appreciate if someone can show me console log with enabled requests logging. To do so:

  1. Open the Anytype working directory (File -> Show Directory -> Work) and create or replace file devconfig.json with contents:
{"debugTH":false,"sudo":true,"allowDebug":true,"allowDataview":true,"channel":"latest","debugMW":true,"debug":{"mw":true,"ho":true,"dm":false,"th":false,"js":false,"ui":false},"experimental":true,"theme":"","allowSpaces":false,"allowBeta":false,"zoom":0,"languages":[],"flagsMw":{"request":true},"systemInfo":true}
  1. Open dev console: Debug -> Dev tools
  2. Enable debug flags: Debug -> Middleware -> JSON logs and Request/Response and Common events
  3. Create a page
  4. Clear console
  5. Type until you catch a bug
  6. Then copy logs, clean them from any sensitive data and send here. Logs should contain BlockTextSetText requests, it will mean that debugging is working

Thank you!

@elvishcraftsman
Copy link
  1. I also use the Android app, latest version (I forget which one that is). However, I saw this bug even with WiFi turned off on my laptop.
  2. No changes
  3. No
  4. No
  5. Not sure what this means, so probably no.

Attached is the log and a screen recording. On the screen recording, you can see that "list" turns to "ist" and "currently" to "curently". This time it wasn't as buggy as it was for me just a few hours ago. I noticed it most in numbered lists, but then I use numbered lists a lot. And I did notice it in normal text as well, as in the recording above, I think.

Screencast.From.2025-04-21.14-06-30.mp4

Anytype log 4-21-25.txt

@mincrowave
Copy link
mincrowave commented Apr 22, 2025

Same issue happening here on Windows 11 23H2 Anytype version 0.46.1 (I also use the Android app). The issue only began once I updated to 0.46.1 from an earlier version (somewhere in the 0.45.x range).

@ra3orblade
Copy link
Contributor
  1. I also use the Android app, latest version (I forget which one that is). However, I saw this bug even with WiFi turned off on my laptop.
  2. No changes
  3. No
  4. No
  5. Not sure what this means, so probably no.

Attached is the log and a screen recording. On the screen recording, you can see that "list" turns to "ist" and "currently" to "curently". This time it wasn't as buggy as it was for me just a few hours ago. I noticed it most in numbered lists, but then I use numbered lists a lot. And I did notice it in normal text as well, as in the recording above, I think.

Screencast.From.2025-04-21.14-06-30.mp4
Anytype log 4-21-25.txt

Can you give your analytics id pls, I need to check logs

@elvishcraftsman
Copy link

Can you give your analytics id pls, I need to check logs

How would I do that?

@ra3orblade
Copy link
Contributor
ra3orblade commented Apr 23, 2025

Found the problem, this was happening because client was creating new session without closing the previous one, now fixed. Thanks for the log, it helped a lot to pinpoint the problem.

@deff7
Copy link
Member
deff7 commented Apr 23, 2025

@elvishcraftsman thank you for you help! Could you please check version v0.46.2?

@elvishcraftsman
Copy link

@elvishcraftsman thank you for you help! Could you please check version v0.46.2?

It appears to be working now! If I see the issue again, I'll bring it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants
0