-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Cursor jumps to various locations all by itself #68776
Comments
Some more info. This happens when the Outline Explorer section is expanded. I see that it is being refreshed, and when it does the cursor jumps! |
I just had this problem and spent a few time searching for the error : Outline enabled AND Outline's Follow Cursor enabled. |
OMG, I just found this thread after 2 days of searching! I was about to report a bug in Visual Studio Code and this was suggested! |
Well for some reason it was working without the "Follow cursor", but now it still jumps around. |
Same for me. It worked for a short time then started jumping again. The only short term solution is to close the outline. |
This is a regression from migrating the outline to use the new tree widget. Sorry for the carnage. |
AH! Praise the Lord, Aleluia! |
Sure, sure! I was out ⛷ ⛰ last week, that's why this didn't happen yet. |
Great, Awesome! Hope the trip went well! (so jealous!) |
I actually cannot reproduce with todays insiders or from source. Can someone please try. @joaomoreno Did the tree change anything wrt to focus/selection events? This issue likely due to my workaround for #64743. I have a |
I turned back on outline after a couple updates and I could not reproduce the problem. I even set follow cursor and it still doesn't jump. I'll be playing around with it today and see if it starts jumping again. Version: 1.32.0-insider (user setup) |
@jrieken Up until last Friday, the tree would fire selection/focus change events even if the selected/focused element collection didn't actually change: 3946e32#diff-a3991c7768fa71b7ffbcad3dea0b49c9 Maybe try to repro before that commit? |
closing, this got fixed via 3946e32#diff-a3991c7768fa71b7ffbcad3dea0b49c9 |
Hi, @jrieken , I can also confirm that the jumping cursor is fixed, even when I turn back the "Follow Cursor" option. But I noticed that the outline is not being scrolled into view when I move though my sources with "Follow Cursor" option enabled. I thought it worked that way before. Is this also a regression? My expectation is that when I move my cursor to some function, in the source editor, the highlighted function name should be visible in the Outline view, and if the highlighted function is not currently visible, the view will be scrolled to make it visible to the user. Other views work that way (e.g., Open Editors view). |
Yeah, that was another regression for which I have pushed a fixed today |
Issue Type: Bug
Latest VS Code Insiders build, with all extensions disabled. VS Code is basially totally broken for me. When I try to enter some code, the cursor jumps to other locations in the file from time to time, so it is impossible to write code.
It seems that the cursors jumps to the beginning of the enclosing block most of the time.
Let me know if you need any additional info. I see this problem in JavaScript, Typescript, CSS files for sure.
VS Code version: Code - Insiders 1.32.0-insider (003521e, 2019-02-15T06:16:29.903Z)
OS version: Windows_NT x64 10.0.17134
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: