mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Windows created via window.open are not registered in Electron.WindowManager.BrowserWindows #288
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CrisVrinceanu on GitHub (Mar 21, 2019).
Originally assigned to: @GregorBiswanger on GitHub.
As specified in the title the windows created via JavaScript "window.Open" don't get registered in BrowserWindow list neither are marked as a child of parent. However via JavaScript you can see them as child.
It would be nice to have them in order to have full control of child windows.
@GregorBiswanger commented on GitHub (May 16, 2019):
Please avoid creating windows with DOM. These are getting rid of the standard electron implementation. Both have nothing in common.
Alternatively, you can do the following:
Important! Electron.NET will NOT get these into the WindowManager. Because the windows were created outside of our API.