Vscode: 1.40.0 has rendering lag and flickers when minimize/maximize window with custom title

Created on 9 Nov 2019  路  15Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.40.0
  • OS Version: Windows 10 1903

Steps to Reproduce:

  1. Open VSCode 1.40.0 and maximize its window.
  2. Click VSCode icon on the task bar to minimize the window.
  3. Click VSCode icon on the task bar to restore the window.

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.

candidate confirmed electron electron-6-update freeze-slow-crash-leak titlebar upstream verified

Most helpful comment

@halega does it reproduce if you configure "window.titleBarStyle": "native" ?

Using that setting fixes it. VSCode also seems much faster in basically everything.

All 15 comments

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.

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

@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.

Was this page helpful?
0 / 5 - 0 ratings