-
Notifications
You must be signed in to change notification settings - Fork 5.9k
titleBar color setting is ignored in version v4.0.1 (PWA mode) #4725
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
Comments
I tested this and was able to reproduce the issue in code-server 4.0.1 I also tested on vscode.dev (installing the PWA) and could not reproduce (works as expected). cc @code-asher was this ever broken in the past? Maybe we lost a change in the upgrade. |
Hmm I am not sure. We have our own PWA setup so maybe there is existing
code that vscode.dev is using that we should switch to.
|
Thanks @LordMethenor! Yeah we probably need to fix something in the PWA manifest |
WorkaroundLooking at the developer console, I found there exist two As a workaround, I simply deleted the following line in <link rel="alternate icon" href="{{BASE}}/static/resources/server/favicon.svg" type="image/svg+xml" />
<link rel="icon" href="{{BASE}}/favicon.ico" type="image/x-icon" />
<link rel="manifest" href="{{BASE}}/manifest.json" crossorigin="use-credentials">
- <meta name="theme-color" content="{{CLIENT_BACKGROUND_COLOR}}">
<link data-name="vs/workbench/workbench.web.api" rel="stylesheet" href="{{BASE}}/static/out/vs/workbench/workbench.web.api.css"> (I installed code-server via homebrew, so in my case, I hope this helps. |
After upgrade 3.12.0 -> 4.0.1 the
titleBar.activeBackground
theme setting doesn't work anymore.It suppose to change the color of the window title in the PWA mode (see screenshots).
OS/Web Information
code-server --version
: 4.0.1Steps to Reproduce
Working version:
settings.json
and customiseworkbench.colorCustomizations
->[yourThemeName]
->titleBar.activeBackground
value (CSS color).An example:
https://gist.github.com/akares/846d368c9ebecfb7fdc51aaa4a91ec12
Broken version:
Screenshot
Expected
UPD: Seems hex color values preview feature also failed in 4.0.1.
The text was updated successfully, but these errors were encountered: