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
electronIssues and items related to Electroninsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
Version: 1.43.2
Commit: 0ba0ca5
Date: 2020-03-25T01:43:18.461Z
Electron: 7.1.14
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.5.13-1-MANJARO
DE: XFCE4
Steps to Reproduce:
Launch an instance of VS Code
Observe the blinding white flash just before the window fully renders
Does this issue occur when all extensions are disabled?: Yes
Using --disable-gpu does not help either.
Here is a GIF of the effect in action:
I have a laptop also running Manjaro XFCE4, which did not exhibit this behaviour (no flash of white) with the following version information:
Version: 1.42.1
Commit: c47d83b
Date: 2020-02-17T09:32:31.598Z
Electron: 6.1.9
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Linux x64 5.5.8-1-MANJARO
However, after updating the machine, the same issue (white flash on launch) presents itself. The version information for the updated machine (identical to the first version listed at the beginning of the ticket) is now :
Version: 1.43.2
Commit: 0ba0ca5
Date: 2020-03-25T01:43:18.461Z
Electron: 7.1.14
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.5.8-1-MANJARO
Reacted by raul75sh, Alexey Debelov, Alexander Popov, Daemon, thatsMySpot and Jerry Sky
Both native and custom options are causing the issue. Interestingly, when switched to native, I'm finding the context menu when clicking on the settings icon to also briefly flash white. This does not happen when the window.titleBarStyle property is set to custom:
I think I may have been experiencing similar effects in some of my other programs running electron 7. Should I close this ticket and open one with the electron team instead?
Hi Robo (@deepak1556), I've just tried out your build, and I can confirm that I am no longer seeing the startup flash. I am also not seeing any of the menu widget flashes:
I can still repro in exploration build the white flash in menu navigation with native titlebar on Ubuntu 18.04 parallels vm. I am tracking this in #80798.
Not sure which electron commit fixed the launch issue, but good to know its fixed.
Interesting. I'm finding the issue is also fixed when targeting electron 8.0.0, which seems to contradict some of the comments people have left in the upstream ticket.
Also, thanks for your work getting this issue figured out, and in developing vscode 😄
The issue was resolved at some point in one of the insider builds of version 1.47. Unfortunately, it got borked again in latest two builds (1.47.0-1593508000 and 1.47.0-1593495868).
In the build 1.47.0-1593413883 everything is fine – no flashing whatsoever, the program respects the global system settings. Instead of flashing white, the background of not yet fully loaded elements (new window instance, menu/ right-click popup) is the same as in the rest of the system.
electronIssues and items related to Electroninsiders-releasedPatch has been released in VS Code InsiderslinuxIssues with VS Code on LinuxupstreamIssue identified as 'upstream' component related (exists outside of VS Code)
Activity
bpasero commentedon Mar 31, 2020
Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/
deadmeu commentedon Mar 31, 2020
I've just tested master and the issue is still present.
bpasero commentedon Mar 31, 2020
Can you try with disabling the custom menu, via
"window.titleBarStyle": "native"deadmeu commentedon Mar 31, 2020
Both

nativeandcustomoptions are causing the issue. Interestingly, when switched tonative, I'm finding the context menu when clicking on the settings icon to also briefly flash white. This does not happen when thewindow.titleBarStyleproperty is set tocustom:bpasero commentedon Mar 31, 2020
Ok, this sounds Electron specific to me. Does it reproduce if you run "
code --disable-gpu"?deadmeu commentedon Mar 31, 2020
Yep, still happens with the
--disable-gpuoption set.bpasero commentedon Mar 31, 2020
Robo (@deepak1556) does this ring any bell?
deadmeu commentedon Mar 31, 2020
I think I may have been experiencing similar effects in some of my other programs running electron 7. Should I close this ticket and open one with the electron team instead?
12 remaining items
deadmeu commentedon Apr 1, 2020
Hi Robo (@deepak1556), I've just tried out your build, and I can confirm that I am no longer seeing the startup flash. I am also not seeing any of the menu widget flashes:

deepak1556 commentedon Apr 1, 2020
Thanks for testing!
Did you also try with
"window.titleBarStyle": "native"?deadmeu commentedon Apr 1, 2020
Yes, the GIF I posted is using the native title bars.
deepak1556 commentedon Apr 1, 2020
I can still repro in exploration build the white flash in menu navigation with native titlebar on Ubuntu 18.04 parallels vm. I am tracking this in #80798.
Not sure which electron commit fixed the launch issue, but good to know its fixed.
deadmeu commentedon Apr 1, 2020
Interesting. I'm finding the issue is also fixed when targeting electron 8.0.0, which seems to contradict some of the comments people have left in the upstream ticket.
Also, thanks for your work getting this issue figured out, and in developing vscode 😄
jerry-sky commentedon Jun 30, 2020
The issue was resolved at some point in one of the insider builds of version
1.47. Unfortunately, it got borked again in latest two builds (1.47.0-1593508000and1.47.0-1593495868).In the build
1.47.0-1593413883everything is fine – no flashing whatsoever, the program respects the global system settings. Instead of flashing white, the background of not yet fully loaded elements (new window instance, menu/ right-click popup) is the same as in the rest of the system.deepak1556 commentedon Aug 28, 2020
Should be fixed in latest insiders.