current page: innerWidth, innerHeight, width, height
root width, height
I tried screen.getOpenedScreens().getRootScreenOrNull().getWindow().getHeight(); screen.getOpenedScreens().getRootScreenOrNull().getWindow().getHeightSizeUnit().toString();
From an window with forceDialod=“true”, I try to open a new window, forceDialog=“true”.
The position of the first window is set manualy and I thy to calculate a position for the second window based on browser size and first window position.