You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I use "Toggle Light/Dark theme" (without the HC theme settings), VS Code switches my theme to the default light/dark High Contrast color theme.
I tried to fix this by setting my preferred themes for the "preferred HC themes" settings, which I previously was not using. However, this causes the toggle command to stop working completely.
See video. I recorded what happens with each combination (first with all the settings enabled, which causes nothing to happen, and second with the HC settings disabled, which causes the HC themes to be toggled).
This feature used to work until about a month or two ago with the Bearded themes, so I'm not sure what has changed. I also used the Insider build until recently and it was not yet fixed there (in fact I first noticed this on Insider, and later switched back to Stable).
Let me know if I can produce any other logs/info that would be helpful.
VS Code version: Code 1.81.1 (6c3e3db, 2023-08-09T22:40:25.698Z)
OS version: Darwin arm64 22.6.0
Modes:
The command looks at the type of the currently configured theme and picks the opposite. Bearded Theme Milkshake Mango is configured as dark high contrast. So when you are in Mango, we go to preferredHighContrastLightColorTheme which is Mango again.
btw Bearded Theme Arc Blueberry is marked as Dark
So I suggest to file an issue against Bearded Theme to correctly mark as light high constant theme.
Not sure how to improve this on our end.
We don't want to restrict the 'preferred' themes. This normally doesn't matter, except for the toggle command.
Ah, you're right, the problem is actually specific to the Bearded themes. I tested this out with a light and dark non-Bearded theme and it works as expected. I'll close this and reopen with them. Thanks!
Type: Bug
I have the following in my settings:
However, when I use "Toggle Light/Dark theme" (without the HC theme settings), VS Code switches my theme to the default light/dark High Contrast color theme.
I tried to fix this by setting my preferred themes for the "preferred HC themes" settings, which I previously was not using. However, this causes the toggle command to stop working completely.
See video. I recorded what happens with each combination (first with all the settings enabled, which causes nothing to happen, and second with the HC settings disabled, which causes the HC themes to be toggled).
This feature used to work until about a month or two ago with the Bearded themes, so I'm not sure what has changed. I also used the Insider build until recently and it was not yet fixed there (in fact I first noticed this on Insider, and later switched back to Stable).
Let me know if I can produce any other logs/info that would be helpful.
VS Code version: Code 1.81.1 (6c3e3db, 2023-08-09T22:40:25.698Z)
OS version: Darwin arm64 22.6.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (93)
(2 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: