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
{{ message }}
Repository navigation
Native titlebar render issue (white box then fills) on Ubuntu 18.04 #80798
bugIssue identified by VS Code Team member as probable bugelectronIssues and items related to ElectronlinuxIssues with VS Code on LinuxmenusMenu items and widget issuestitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstream
Open VSCode and mouse hover over title bar, the box render will appear white then fill in
This does NOT happen when I set window.titleBarStyle to custom (but I wish I could use native)
I have also tried --disable-gpu and same issue.
GIF:
Does this issue occur when all extensions are disabled?: Yes
Reacted by Paweł Szmergała, Leslie, Charbel Nicolas, Alessandro Falappa, Jeremy Kolb, Jerry Sky, Alex, raul75sh, Alexey Debelov, Thomas Lobker and 18 more
[merging from #98837 ]
Same here
Debian 10 buster LXDE as windows manager
Linux debian 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux
In my case, I found a workaround. Simply create or modify existing launcher with below command. Use any dark-theme (Adwaita-dark, Greybird-dark, etc) as the vscode theme. I'm using Greybird-dark:
bugIssue identified by VS Code Team member as probable bugelectronIssues and items related to ElectronlinuxIssues with VS Code on LinuxmenusMenu items and widget issuestitlebarVS Code main title bar issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstream
Activity
charbelnicolas commentedon Mar 11, 2020
This happens on Arch Linux and gnome 3.36 on nvidia's latest drivers 440.64 too. Is there a fix coming soon?
kjeremy commentedon Mar 16, 2020
I am seeing this too on a vmware system.
Version: 1.43.0
Commit: 78a4c91
Date: 2020-03-09T19:44:52.965Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-42-generic
deepak1556 commentedon Mar 17, 2020
Charbel Nicolas (@charbelnicolas) Jeremy Kolb (@kjeremy) are you also seeing the issue even with hardware acceleration disabled https://code.visualstudio.com/updates/v1_40#_disable-gpu-acceleration ?
charbelnicolas commentedon Mar 18, 2020
Yes, this happens with the "disable-hardware-acceleration": true as well as with --disable-gpu.
sarbikbetal commentedon Mar 19, 2020
Happens with me too on Ubuntu 19.10.
Version: 1.44.0-insider
Commit: 708b019
Date: 2020-03-18T05:46:17.067Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-42-generic
raul75sh commentedon Mar 19, 2020
Ubuntu 18.04.4 LTS

Version: 1.43.1
Commit: fe22a96
Date: 2020-03-18T07:17:38.324Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-40-generic
deepak1556 commentedon Mar 31, 2020
Upstream issue electron/electron#18184
5 remaining items
sergiocntr commentedon May 31, 2020
[merging from #98837 ]
Same here
Debian 10 buster LXDE as windows manager
Linux debian 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux
Last version without issue is
1.42.1
c47d83b
x64
Switching the Title Bar Style to custom does work for me. Thanks!
superiums commentedon Jun 14, 2020
same in Arch , xfce4.
not happen in my previous xubuntu 18.04.
in Arch ,i also tried to use the bin installed in xubuntu, flash always appears in Arch, not in xubuntu.
derekjhunt commentedon Jun 24, 2020
The flash is still present in Ubuntu 20.04
Switching the Title Bar Style to custom does work for me. Thanks!
dvdantunes commentedon Jul 4, 2020
This flash is present also in Fedora 31
Some details:
I also switched
Title bar styletocustomand it worked for me. Thanks you all!seichodev commentedon Jul 6, 2020
-Pop!_OS 20.04 @ ThinkPad W541 w/ NVIDIA K2100M
Can confirm
"window.titleBarStyle": "custom"fixed everything. Thank you!ThomasLobker commentedon Sep 11, 2020
For me the issue is completely fixed in the latest
1.49version 🎉SkeLLLa commentedon Sep 17, 2020
After update to 1.49 version on ubuntu 20 this issue appeared. No flashing, just all menus are white.
straycoders commentedon Oct 21, 2020
In my case, I found a workaround. Simply create or modify existing launcher with below command. Use any dark-theme (Adwaita-dark, Greybird-dark, etc) as the vscode theme. I'm using Greybird-dark:
env GTK_THEME=Greybird-dark /usr/share/code/code --unity-launch --disable-gpu %FFor me, this solved issue #93869, and also works for
"window.titleBarStyle": "native"drewm1980 commentedon Nov 27, 2020
Reproduced on 1.51.1 on Ubuntu 18.04.4
12gabriel3 commentedon Mar 1, 2021
Reproduced on VSCode 1.53 on Ubuntu 20.04
Setting
window.titleBarStyletocustomfixed itdeepak1556 commentedon Dec 12, 2022
Closing since native titlebar is rendered by the runtime and upstream issue has been closed.