Sideways S
Sideways S

Reputation: 717

VSCode editor mouse cursor inverts color when moving across panes

I just upgraded to Windows 11 with a fresh install, and a fresh install of VSCode. I have never seen this behavior prior to now. I have panes open side-by-side, each with various files open. When moving the mouse across the divider between open panes (or whatever they're called in VSCode), the mouse cursor goes temporarily from black to white (or some pseudo-white color). It reverts to black after a few seconds. A white cursor against an off-white background is very hard to see, and the cursor seems to disappear during these few seconds. I tried to record a screencast via the Snipping Tool, but I cannot reproduce the issue when recording :(

If I move the mouse very slowly, I can avoid this. In moving it slowly I see that the mouse cursor changes as it crosses over the scroll bar and the vertical line for pane sizing.

Is there a setting to block this? Is it a bug? I cannot find any other reports of this issue online.

VSCode help/about:

Version: 1.87.2 (user setup)
Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
Date: 2024-03-08T15:20:17.278Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.22631

Upvotes: 0

Views: 1714

Answers (3)

Yasho Niwahal
Yasho Niwahal

Reputation: 1

Had something to do with HDR in my case. Turned the HDR off and works like a charm.

Upvotes: -1

Paul Wilson
Paul Wilson

Reputation: 1

Switch to DGPU mode. It is a bug with Windows.

Upvotes: 0

Michael Brown
Michael Brown

Reputation: 41

Turn off HDR in Settings > Display > Use HDR.

Upvotes: 1

Related Questions