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

Jumping cursor with Auto Save: afterDelay #408

Closed
1 task done
Lacosst0 opened this issue Feb 11, 2025 · 10 comments · Fixed by #413
Closed
1 task done

Jumping cursor with Auto Save: afterDelay #408

Lacosst0 opened this issue Feb 11, 2025 · 10 comments · Fixed by #413

Comments

@Lacosst0
Copy link

Lacosst0 commented Feb 11, 2025

Only enabled: editorconfig.editorconfig 0.17.0

VSCode info:

Version: 1.97.0 (user setup)
Commit: 33fc5a94a3f99ebe7087e8fe79fbe1d37a251016
Date: 2025-02-04T22:41:26.688Z
Electron: 32.2.7
ElectronBuildId: 10660205
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26100

How to reproduce:

  • Auto Save: afterDelay. Start typing something, and when auto-save occurs, the cursor will jump in time

I thought this is my keyboard problem, but this problem occurs only when editorconfig is enabled

Image

@Lacosst0 Lacosst0 changed the title Jumping cursor when using extension Jumping cursor with Auto Save: afterDelay Feb 11, 2025
@SunsetTechuila
Copy link
Member

#407 (comment)

@Lacosst0
Copy link
Author

Lacosst0 commented Feb 13, 2025

Checked EditorConfig-0.17.1, the issue is fixed

@SunsetTechuila
Copy link
Member

Thank you. Are you sure it is enough to set autosave to afterDelay and start typing to reproduce the issue?

@Galaxy-Husky
Copy link

No matter what save mode, my mouse cursor will jump around by itself.

@Szpadel
Copy link

Szpadel commented Feb 13, 2025

I also have the same issue, I was and to find cause by running extension bisect

It's really hard to prove that issue was no longer occurring as it's fairly random and you have to type in very specific peace for it to manifest.

My way was to type the same sentence over and over again starting from as fast I could type and each time slowing down very slightly

I believe that some heavy extensions (like rust analyser in large project) increased window for this race condition to manifest

I hope this helps

@kudratov25
Copy link

kudratov25 commented Feb 14, 2025

https://github.com/user-attachments/assets/f230b97b-281c-43b1-8565-9a5771b6b1ac
cursor moves to back while faster typing. it caused by what i dont know exactly but after updating of vs code it occurs. any ideas?
how to solve it?

@Lacosst0
Copy link
Author

Lacosst0 commented Feb 14, 2025

Can confirm I'm using rust-analyzer which kills my pc

@SunsetTechuila
Copy link
Member

SunsetTechuila commented Feb 18, 2025

proper fix requires microsoft/vscode#241075 to be resolved

see #410 (comment)

@caiodutra08
Copy link

Its fixed by now i guess, as this was merged right?

@SunsetTechuila
Copy link
Member

SunsetTechuila commented Feb 19, 2025

not yet, the newline-command branch hasn't been merged into main because the vscode update hasn't been released yet

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