electron icon indicating copy to clipboard operation
electron copied to clipboard

[Bug]: Main window black screens when it's fullscreen and launches a child window

Open pushkin- opened this issue 1 year ago • 4 comments

Preflight Checklist

Electron Version

26.2.0

What operating system are you using?

macOS

Operating System Version

macOS Ventura 13.2.1

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

No response

Expected Behavior

I expect that the main window stays alive when it's fullscreen and launches a child window

Actual Behavior

child window is launched fullscreen on another Desktop/Space and main window becomes black

Testcase Gist URL

https://gist.github.com/pushkin-/0892f7b6bf02b8b61fb3330e924e548c

Additional Information

  1. full screen main window
  2. click Open Window
  3. observe child window launches on another Space for some reason
  4. Menu -> Close Window
  5. You get sent back to the main window which is now black

Maybe related to all the other fullscreen/black screen kinds of issues I opened recently. Possibly a dupe of something

pushkin- avatar Sep 14 '23 16:09 pushkin-

Looks like the current behavior was introduced in v20.2.0. Looks like it's likely an upstream Chromium change that introduced it.

dsanders11 avatar Sep 20 '23 23:09 dsanders11

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

bump

pushkin- avatar Dec 20 '23 15:12 pushkin-

bump. I can reproduce in v19.1.1

weibinzhu avatar Jan 03 '24 06:01 weibinzhu