vscode icon indicating copy to clipboard operation
vscode copied to clipboard

"Auto Detect Color Scheme" not working properly

Open jelitter opened this issue 2 years ago • 5 comments

Type: Bug

Having the setting "Auto Detect Color Scheme" checked, and then restarting Visual Studio Code, will result in the wrong scheme being selected.

For instance, my OS (Windows 11) is set to Light theme. When I restart Visual Studio Code, it defaults to dark mode. Then I have to uncheck and check that setting again, to get VS Code to Light mode as expected.

The same thing happens in the afternoon when my OS is set to dark mode.

This issue was also described by other users, and closed with a fix, but issue persists: https://github.com/microsoft/vscode/issues/126823

Thanks!

VS Code version: Code 1.75.0 (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:23:45.584Z) OS version: Windows_NT x64 10.0.22621 Modes: Sandboxed: No

jelitter avatar Feb 07 '23 11:02 jelitter

I have the same issue on macOS on multiple machines with Settings Sync enabled. I have to uncheck and recheck the auto detect color scheme checkbox to make it see there was a change.

wajdi-b avatar Apr 20 '23 03:04 wajdi-b

I have the same issue on macOS on multiple machines with Settings Sync enabled. I have to uncheck and recheck the auto detect color scheme checkbox to make it see there was a change.

I have the same issue, and what you mentioned is how I resolve it.

hamirmahal avatar Jul 07 '23 20:07 hamirmahal

This might be related to https://github.com/microsoft/vscode/issues/173770.

hamirmahal avatar Jul 07 '23 20:07 hamirmahal

This might also be related to https://github.com/microsoft/vscode/issues/180023.

hamirmahal avatar Jul 07 '23 20:07 hamirmahal

I'm on Windows 10 and I use https://github.com/AutoDarkMode/Windows-Auto-Night-Mode.

image

hamirmahal avatar Jul 07 '23 20:07 hamirmahal

I have the same issue on macOS on multiple machines with Settings Sync enabled. I have to uncheck and recheck the auto detect color scheme checkbox to make it see there was a change.

https://github.com/microsoft/vscode/issues/173770 might be more directly related than this issue.

hamirmahal avatar Aug 24 '23 18:08 hamirmahal