microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.89k stars 29.52k forks source link

theme auto detect stopped working after switching macbooks #210563

Open squarewave24 opened 7 months ago

squarewave24 commented 7 months ago

Does this issue occur when all extensions are disabled?: Yes

using settings sync, all of my settings appear to be identical to my old machine, but i can't get theme auto detect to work.

  "window.systemColorTheme": "auto",
  "workbench.preferredLightColorTheme": "Default Light+",
  "window.autoDetectColorScheme": true,
  "workbench.preferredDarkColorTheme": "Default Dark+",
  "workbench.colorTheme": "Default Light+"

i've used this feature for 1+ years on my old machine. to test, i've tried both: toggling the OS theme, and regular times for day/night. neither approach works, but that worked seamlessly on old machine.

i've tried toggling auto detect color scheme.

i've also tried omitting colorTheme

  "window.systemColorTheme": "auto",
  "workbench.preferredLightColorTheme": "Default Light+",
  "window.autoDetectColorScheme": true,
  "workbench.preferredDarkColorTheme": "Default Dark+",
kalebers commented 7 months ago

See if this comment helps: https://github.com/microsoft/vscode/issues/158314#issuecomment-1925910407

squarewave24 commented 7 months ago

See if this comment helps: #158314 (comment)

yep! that did it. specifically just removing this line: "window.systemColorTheme": "auto",

kalebers commented 7 months ago

Glad that helped! Any trouble, you know where to find us! :)