WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@adityaonx
Copy link

Fixes #132339
I have to reopen this PR as the fix was marked incorrectly by #249241 (comment)

I modified this line, so the white flash won't occur when opening VS Code in maximized window happening in Windows OS.

Previous code: Line 140
Updated code: Line 142

Issue
Before

428930115-7acb36cc-0bed-4812-9846-beb498fd2fd8.mp4

After
Issue-Fix

428930203-3eb5e483-2678-42bf-9342-052cabbb2731.mp4

I know that it isn't a proper one-shot fix! But this mitigate the Eye Burning White Flash every-time someone opens it on Windows OS!

@vs-code-engineering
Copy link

vs-code-engineering bot commented Dec 7, 2025

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/platform/windows/electron-main/windows.ts

@adityaonx
Copy link
Author

@bpasero @deepak1556 @hediet no updates as of now?

@deepak1556
Copy link
Collaborator

As mentioned before we are just trading one bug for another #245208 (comment)

With regards to #245208 (comment) the RemoveRedirectionBitmap feature is enabled by default in our latest insiders https://code.visualstudio.com/insiders and I can repro the issue with it. Requires a followup in the runtime.

@deepak1556 deepak1556 closed this Dec 9, 2025
@adityaonx
Copy link
Author

@deepak1556 but this does solve the major concern of having the white flash which a much more bigger issue right now than a ultimate fix. Until we have a proper fix, this mitigation is better for temporary fix. Don't you think it will save many from white flashes everytime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

White flash when opening a new window maximized or fullscreen

3 participants