Skip to content

Text cursor and VSCode insertion bar out of synch #111058

@MAGOO56

Description

@MAGOO56

Issue Type: Bug

I'm unsure of the exact cause. I'm a low vision user and have various visual accesibility features enabled. In particular, I have configured the settings:

"Ease of Access" -> "Text Cursor" as follows:

  • Turn on text cursor indicator - Enabled
  • Change text cursor size - 3 (50%)
  • Suggested text cursor colors - Turquoise
  • Change text cursor thickness - 6 (26%)

"Ease of Access" -> "Magnifier"

  • Turn on magnifier - Enabled
  • Change zoom level - 500%
  • Start magnifier after sign-in - Checked
  • Start magnifier before sign-in for everyone - Checked
  • Smooth edges of images and text - Checked
  • Invert colors - Not checked
  • Choose a view - Full screen
  • Have magnifier follow:
    • Mouse pointer - Checked
    • Keyboard focus - Checked
    • Text cursor - Checked
    • Narrator cursor - Checked
  • Keep the mouse pointer - Centered on the screen
  • Keep the text cursor - Within the edges of the screen
  • Choose a modifier key - Control + Alt

I use NVDA (Non Visual Desktop Access) as my screen reader instead of Narrator.
I have two 4K monitors in dual screen, both at

I've noticed this in all versions of VSCode that I've used over the past year. When I first launch VSCode, the position of the two appear to be in synch. But as I user the keyboard to move thru the text the two cursors get out of synch.

  • If I move to the end of the line, the VSCode text cursor is at the end of the line, but the system text cursor (with the indicator set) will be way to the right side (aout twice where it should be).
  • If I move down in the file, again the VSCode text cursor is where it should be, but the system text cursor is way below this point (about twice as far).

Since I have following the system text cursor/keyboard focus set, the screen moves to follow the system text cursor which means the area of interest quickly moves out of view.

If I zoom out to 100%, the two cursors still stay out of synch. If I click where I want to be, the system cursor is still out of synch.

So far, this is the only program/App where I've experienced this behaviour.

Thanks for looking into this issue.

VS Code version: Code 1.51.0 (fcac248, 2020-11-05T18:18:23.642Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz (8 x 3600)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.93GB (4.06GB free)
Process Argv C:\Users\rmcge\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json --crash-reporter-id 1635da57-a4e5-40dc-bc82-f0f9a99b97d2
Screen Reader yes
VM 0%
Extensions (2)
Extension Author (truncated) Version
remote-wsl ms- 0.51.4
powershell ms- 2020.6.0

(1 theme extensions excluded)

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions