vscode
vscode copied to clipboard
when using profiles that enable 'Auto Detect Color Scheme', the light and dark theme maybe wrong when switch profile
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: Version: 1.78.0-insider Commit: 3ad5774eb8123d4224eb55629df9e5f82fe13b99 Date: 2023-04-14T05:44:42.200Z (1 day ago) Electron: 22.4.5 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Darwin arm64 22.3.0 Sandboxed: Yes
- OS Version: macOS Ventura 13.2.1
Steps to Reproduce:
- Create multiple profiles
- Each profile turns on
Auto Detect Color Schemeand setPreferred Dark Color ThemeandPreferred Light Color Theme.
in my settings, the
Preferred Dark Color ThemeisGithub Dark, and thePreferred Light Color ThemeisGithub Light Theme - Gray
- Set the appearance to auto in macos
- When the system appearance is automatically switched, the vsocde current profile also switches the theme successfully at thie time, but then switching to another vscode profile, the theme does not automatically switch.
but then switching to another vscode profile, the theme does not automatically switch.
Does the profile you switched to has the setting to auto detect the color scheme?
but then switching to another vscode profile, the theme does not automatically switch.
Does the profile you switched to has the setting to auto detect the color scheme?
yes, the profiles before and after the switch are all set to automatically detect the color scheme. thanks @sandy081
I am not sure if I get it. Is it working for you now?
@sandy081 I speculate that the possible reason is that although multiple profiles are configured with Auto Detect Color Scheme, the vscode theme change will only be triggered when the theme of macos is switched, and when jumping to another profile, even if the theme change is set, but due to The macos theme has been switched, but there is no change at this time, it needs to switch the macos theme again to trigger. I don't understand if this is a bug. Intuitively, it should detect the current macos theme and follow the system changes when switching profiles.

@aeschli Assigning to you as this seems to be theme related bug. Let me know if there is anything I have to do.
This might be related to https://github.com/microsoft/vscode/issues/173770.
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Should this one be considered a bug instead of a feature request?
Should this one be considered a bug instead of a feature request?
I think https://github.com/microsoft/vscode/issues/173670 is closer to what we're looking for.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!