-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
White flash when opening a new window maximized or fullscreen #132339
Comments
/gifPlease |
Are you running via WSL ? Does the issue repro if you launch with |
I don't normally use WSL to launch. That is just a gif I found on a previous issue that was similar, but that issue had a different cause and fix. The white flash looks the exact same to me. It occurs when I launch from the Windows GUI, from CMD, or from WSL. I only have a dedicated graphics card and no integrated graphics on my Ryzen CPU, so I wouldn't expect anything different to happen. I have tried |
Can you provide a screen capture from your device showing the exact steps of launch ? Also attach the output of |
Like I said, it happens when launching from the terminal or from the GUI. It looks exactly like the GIF, and the flash of white is the exact same. I could record 7 different gifs, one from the launching in taskbar, one from the start menu, one from a desktop icon, a new window from VSCode, from CMD, Powershell, and WSL. It all results in the same thing. The important step is that it first opens maximized or fullscreen on the Windows operating system. [main 2021-09-09T03:32:20.601Z] Sending some foreground love to the running instance: 3180 |
Yes it is fine, please attach a recording of what you are observing. As for the |
Here's the log file for opening the first instance, although it's a bit cluttered because of extensions and workspaces. I have already reproduced the error without extensions on a new install of VSCode Insiders, so extensions, themes, and workspaces are irrelevant. |
Were you able to reproduce the issue? I couldn't get the screencast website you shared to work. Anyway, this makes no difference. |
I can reproduce this
Recording.2021-11-29.at.4.40.54.PM.mp4 |
I've started getting this recently. Like 3-4 builds ago along with another more annoying issue - when VS code touches the bottom of the screen (even not maximized) it prevents the taskbar from showing up when I move the mouse to the bottom. |
Upstream issue: Chromium gets the message handler to show a window before the content window. The window that the message handler shows has a white background. I notice that if I edit Chromium's OnPaint handler, I can get it to paint a black background by moving a line that calls However, even with that fix, there is still a flash of white at the beginning. |
The bug still persists on Windows 11 |
The video submitted by RobbyCBennett replicates exactly what I'm seeing on a fresh install of Ubuntu 22.04 with a clean install of code.
|
I have noticed that the issue is not currently present on Windows 11, but it is still present on Windows 10. I have made sure that VS Code is updated on both machines. |
Yes, definitely still present on Win 10 / latest insiders. Ms Edge and Chrome suffer from the same issue, btw. |
On Windows 11, I'm seeing the issue again for the latest release. Version: 1.77.0 (system setup) |
I also see this issue using Ubuntu 22.04.3 LTS, and VS Code 1.83.0 It happens when I run As further information, it displays this white flash whenever I switch to the desktop workspace on which VS Code is running. Happy to provide further information, if someone tells me what is needed and how to provide it. If anyone knows a temporary work around for this, of any sort, that would be much appreciated, because having it flash every time one switches to the window is really frustrating. |
I've just tried this on a Windows 10 system that has an integrated GPU and a dedicated GPU and this time I noticed a difference between the two. Here are my results.
2023-10-06.06-40-58.mp4 |
Based on #132339 (comment) and given we don't have a clear path to upstream the changes to chromium, closing as not actionable. |
Does this issue occur when all extensions are disabled?: Yes
Version: 1.60.0 (user setup)
Commit: e7d7e9a
Date: 2021-09-01T10:41:52.311Z
Electron: 13.1.8
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.19043
Steps to Reproduce:
The issue was reported here and closed because Electron 8 apparently fixed the issue. However, I'm still having this issue with Electron 13 on Windows. The issue is not present on Manjaro.
The text was updated successfully, but these errors were encountered: