-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color theme settings doesn't take effect immediately after rebuild #1956
Comments
I sometimes see it switch back to Dark+ after attaching to a container with the Light theme configured. /cc @sandy081 |
Can you please try switching themes back and forth works when container window is open? |
Switching themes works. There seems to be a cache somewhere, I just opened a folder in a container and it switched to the Light theme although that was not configured in any of the three possible settings JSONs. |
Can you please check if this is same case for all settings or only for themes? |
It's the only one I see this with (after trying a few). |
Then I think the cache could be at theming. @aeschli any idea? |
The theme service first uses a persisted theme and listens for configuration change events. |
Ok assigning myself to investigate. |
@chrmarti I can repro it but I am not able to debug this out of sources ie., VS Code Dev + Dev Container extension as I am seeing following error while opening
Can you please investigate or help me in debugging this out of sources? |
@sandy081 Is this with the latest commit of vscode-dev-containers? |
I am not sure what you mean by that.. but I used the latest version of vscode-dev-containers extension. |
@sandy081 This appears to be on Linux, right? (Edit: Misinterpreted the log, it is running VS Code out of source.) |
@sandy081 Try setting the |
@sandy081 You also need to Longer term it would make sense to get this again running with the server running out of source, but that is currently broken and needs work to get it back. |
This is working for me now. Hence closing this. |
When Testing #1938
Steps to Reproduce:
Open Container Configuration File
and add a setting"workbench.colorTheme": "Visual Studio Light"
Reopen in Container
and see that the color theme takes effectRedo step 1) in container window with a new theme
Reload window and see the prompt to rebuild the container
Once container is rebuilt should see the new theme take effect, but it doesn't unless
Reload Window
command is usedAnother side effect, might have same root cause.
Attach to running container
and the newly attached window will have the theme from step 1) unless it is reloaded too.The text was updated successfully, but these errors were encountered: