[Bug]: non-fullscreenable, non-resizable child windows get fullscreened when being shown if the parent window is fullscreened #39614
Labels
25-x-y
26-x-y
27-x-y
bug 🪲
component/BrowserWindow
has-repro-gist
Issue can be reproduced with code at https://gist.github.com/
platform/macOS
status/confirmed
A maintainer reproduced the bug or agreed with the feature
Preflight Checklist
Electron Version
26.0.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 if a child window that's configured to be non-fullscreenable is shown while the parent window is fullscreened, the child window won't get fullscreened.
Actual Behavior
Child window opens fullscreened for some reason and the main window crashes when the child is closed.
Testcase Gist URL
https://gist.github.com/pushkin-/3b4bcdb219eee85789e95f6d94ec8a92
Additional Information
seems like the invocation of
BrowserWindow::show()
causes theenter-full-screen
event to get emitted for some reason.Screen.Recording.2023-08-22.at.5.36.43.PM.mov
The text was updated successfully, but these errors were encountered: