Preflight Checklist
Electron Version
37.0.0-nightly.20250407
What operating system(s) are you using?
macOS
Operating System Version
macOS 14.6.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
No white flash on a call to BrowserWindow.show
Actual Behavior
Visible white flash on a call to BrowserWindow.show
Testcase Gist URL
https://gist.github.com/CezaryKulakowski/987381ac7306332dae9988ba220145bc
Additional Information
To repro launch following app:
flash.zip
It's not clearly visible on every mac machine but it's quite severe on some of them.
Issue started to show up after this chromium change landed: https://chromium-review.googlesource.com/c/chromium/src/+/6064185
With this change native widget (content view of the window) is hidden on a call to BrowserWindow.hide. It wasn't hidden before so its visibile state was set to visible even when window it belongs to was hidden.
Preflight Checklist
Electron Version
37.0.0-nightly.20250407
What operating system(s) are you using?
macOS
Operating System Version
macOS 14.6.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
No white flash on a call to BrowserWindow.show
Actual Behavior
Visible white flash on a call to BrowserWindow.show
Testcase Gist URL
https://gist.github.com/CezaryKulakowski/987381ac7306332dae9988ba220145bc
Additional Information
To repro launch following app:
flash.zip
It's not clearly visible on every mac machine but it's quite severe on some of them.
Issue started to show up after this chromium change landed: https://chromium-review.googlesource.com/c/chromium/src/+/6064185
With this change native widget (content view of the window) is hidden on a call to
BrowserWindow.hide. It wasn't hidden before so its visibile state was set tovisibleeven when window it belongs to was hidden.