Steps to Reproduce:
Expected result
Window restored instantly without flickering.
Actual result
Window flickers and there's a small lag in rendering status bar. Sometimes the window is restored empty for 2-3 seconds. Look at screencast: vscode-1.40-rendering-lag.mp4.zip.
Does this issue occur when all extensions are disabled?: Yes
It's a regression in 1.40.0. In 1.39.2 all is OK.
I'm having the exact same issue. It could happen with any file and it seems like it's not affected by extensions or settings.
Probably the same reason as https://github.com/microsoft/vscode/issues/84342
I experience the same behavior from vscode, this issue happens specifically when 'minimizing/maximizing' not when scrolling through alt+tab. also noticed some performance improvements, don't know if this is related to this issue or not
Related with https://github.com/microsoft/vscode/issues/81102.
It's a known problem with Electron: https://github.com/electron/electron/issues/19934
@halega does it reproduce if you configure "window.titleBarStyle": "native" ?
@halega does it reproduce if you configure
"window.titleBarStyle": "native"?
Using that setting fixes it. VSCode also seems much faster in basically everything.
@halega does it reproduce if you configure
"window.titleBarStyle": "native"?
Yes, it helps: no more lag in restoring window.
The rendering lag is a first issue, but the difference in performance when enabling window.titleBarStyle is really big, maybe there is something more going on with this? It seems like the performance increases overall.
This should be fixed in our insiders build https://code.visualstudio.com/insiders/, can you please verify ?
@deepak1556 did we update Electron already?
@bpasero yeah we updated it in master a while back so insiders should have it.
still seeing some issue with 6.1.4
Can confirm issue is still present, working on a fix.
Electron PR https://github.com/electron/electron/pull/21164
Most helpful comment
Using that setting fixes it. VSCode also seems much faster in basically everything.