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

Curson Or pointer moved while writing #240965

Closed
Hakam-7-dev opened this issue Feb 16, 2025 · 9 comments
Closed

Curson Or pointer moved while writing #240965

Hakam-7-dev opened this issue Feb 16, 2025 · 9 comments
Assignees
Labels
*caused-by-extension Issue identified to be caused by an extension info-needed Issue requires more information from poster

Comments

@Hakam-7-dev
Copy link

[

](url)
Type: Performance Issue

since four days ago on main.js file while I am writing some lines the cursor get back to the middle of line and mess the command even when begin a new line somtimes it comes back to the previous line

VS Code version: Code 1.97.2 (e54c774, 2025-02-12T23:20:35.343Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs AMD Ryzen 5 4600H with Radeon Graphics (12 x 2994)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.42GB (5.43GB free)
Process Argv --crash-reporter-id ac8a6a0d-1740-4dc4-a027-f88b62d353b6
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	   138	 25452	code main
    1	   293	  5020	window [1] (main.js - Learn JS - Visual Studio Code)
    0	   122	 12028	shared-process
    0	   168	 12172	extensionHost [1]
    0	   110	  2148	     "C:\Users\hakam\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\hakam\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=12172
    0	   132	  9528	     electron-nodejs (tsserver.js )
    0	    95	 15416	     "C:\Users\hakam\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\hakam\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=12172
    0	   168	 22568	     electron-nodejs (tsserver.js )
    0	   105	 20908	       electron-nodejs (typingsInstaller.js typesMap.js )
    0	    91	 24476	     electron-nodejs (eslintServer.js )
    0	    33	 21460	   crashpad-handler
    0	   144	 26668	   gpu-process
    0	    49	 26936	   utility-network-service
    0	    95	 27252	fileWatcher [1]
Workspace Info
|  Window (main.js - Learn JS - Visual Studio Code)
|    Folder (Learn JS): 2 files
|      File types: html(1) js(1)
|      Conf files:;
Extensions (9)
Extension Author (truncated) Version
bracket-pair-color-dlw Bra 0.0.6
path-intellisense chr 2.10.0
vscode-eslint dba 3.0.10
EditorConfig Edi 0.17.0
prettier-vscode esb 11.0.0
indent-rainbow ode 8.3.1
material-icon-theme PKi 5.19.0
material-product-icons PKi 1.7.1
LiveServer rit 5.7.9
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530
6074i472:31201624
dwoutputs:31238123
hdaa2157:31222309
copilot_t_ci:31222730
cp15172_c:31236637
jda6j935:31233686

@shifoc
Copy link

shifoc commented Feb 17, 2025

I have the same issue, it moves to another line

@alexr00
Copy link
Member

alexr00 commented Feb 17, 2025

This sounds like it might be caused by an extension. Can you run Help: Start extension bisect to identify the extension?

@alexr00 alexr00 added info-needed Issue requires more information from poster and removed triage-needed new release labels Feb 17, 2025
@kermanx
Copy link

kermanx commented Feb 17, 2025

Possibly the same as #240954, #240878, and #240846. Disabling autosave works for me.

@DEberhardt
Copy link

DEberhardt commented Feb 19, 2025

Have the same issue, disabling autosave has done the trick

UPDATE:
When using CTRL+S to save my file, the same behavior is observed.

UPDATE2:
Bisect told me that the ziyasal.Open in Github extension caused this, having it disabled for now and testing with AutoSave on.

@iagobruno
Copy link

I'm facing this annoying problem too. I tested it with Extension Bisect but apparently no extension is causing this problem.

Image

@caribouflex
Copy link

caribouflex commented Feb 19, 2025

I had the same issue: while editing my file, the cursor would randomly jump to the top. It seems to be related to the autosave setting. I had it set to afterDelay, but after switching to onFocusChange, the issue disappeared. So, it appears the problem was caused by the autosave behavior.

@reaktor-esakoskinen
Copy link

Please try disabling the EditorConfig extension, that did the trick for me.

@SunsetTechuila
Copy link
Contributor

same as #241192

@alexr00 alexr00 added the *caused-by-extension Issue identified to be caused by an extension label Feb 21, 2025
Copy link

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.

Happy Coding!

@vs-code-engineering vs-code-engineering bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
*caused-by-extension Issue identified to be caused by an extension info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

9 participants