Skip to content

Editor jumps to random line when clicking into it #70306

@toh-ableton

Description

@toh-ableton

Issue Type: Bug

  1. Open a repo in VS Code.
  2. "Find in Files" for some string.
  3. Click on a search result so it opens in a new editor window.
  4. Click on a line of code in this new editor window.

Expected results:
The cursor is where I clicked. The window never scrolls anywhere.

Actual results:
Often enough to be annoying, but not reliably enough to describe it, the editor scrolls to a random location in the file.

I'm sorry that I can't give you more details, but this bug is EXTREMELY annoying. If I could ask for a single thing in VS Code, it would be that you drop everything else you're working on and fix this bug. VS Code is a fantastic product, and I'm sure you have lots of ideas how to make it even better. But for my daily work, the one thing that I need is this bugfix.

VS Code version: Code 1.32.0 (507312a, 2019-03-06T18:52:50.880Z)
OS version: Darwin x64 18.5.0

System Info
Item Value
CPUs Intel(R) Xeon(R) W-2191B CPU @ 2.30GHz (36 x 2300)
GPU Status 2d_canvas: enabled
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: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 1, 2, 2
Memory (System) 32.00GB (2.80GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
gitlens eam 9.5.1
python ms- 2019.2.5558
cpptools ms- 0.21.0
vsliveshare ms- 0.3.1284
vscode-capnp xmo 1.0.0

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-findEditor find operationshelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersmacosIssues with VS Code on MAC/OS XverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions