Skip to content
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

New window uses old theme #84539

Closed
roblourens opened this issue Nov 11, 2019 · 6 comments
Closed

New window uses old theme #84539

roblourens opened this issue Nov 11, 2019 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug themes Color theme issues verified Verification succeeded
Milestone

Comments

@roblourens
Copy link
Member

roblourens commented Nov 11, 2019

  • Open vscode
  • Change the theme
  • Open a new window
  • The window is the old theme I guess until the EH starts up, at which point it switches to the new theme

I know that we try to quick restore the theme when starting a window, but did this work at some point after changing the theme? If I restart VS Code after changing the theme then I get the expected behavior.

It might just be more noticeable for me now because if I open a remote window, then the theme isn't fixed until the remote resolver completes, so I might be looking at a window in a different theme for quite awhile until connection finishes.

@jrieken
Copy link
Member

jrieken commented Nov 12, 2019

I'd say this is because the theme is installed in the remote EH and therefore comes in late

@aeschli
Copy link
Contributor

aeschli commented Nov 12, 2019

@roblourens I can see some strangeness if the theme is defined in the workspace settings. Is that your setup?

@roblourens
Copy link
Member Author

I am using builtin themes. Also just changing the theme through the normal command that sets user settings.

@roblourens
Copy link
Member Author

roblourens commented Nov 12, 2019

Also I see this without having remote involved, that just makes the issue more noticeable.

@roblourens
Copy link
Member Author

Oh, this only happens for the first new window after changing the theme. Maybe that helps.

@aeschli
Copy link
Contributor

aeschli commented Nov 15, 2019

It's a bug that happens when 2 windows are open while switching themes.
To verify:

  • open 2 VS Code windows
  • switch the theme from light to dark (or vice versa): theme is applied in both windows
  • exit VS Code
  • restart VS Code. Both windows open with the colors of the theme selected

@aeschli aeschli added this to the November 2019 milestone Nov 15, 2019
@aeschli aeschli added bug Issue identified by VS Code Team member as probable bug themes Color theme issues labels Nov 15, 2019
@mjbvz mjbvz added the verified Verification succeeded label Dec 4, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug themes Color theme issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants