You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NWJS Version : 0.42.5
Operating System : Win10 (1903)
Expected behavior
Calling nw.Window.open() with the window flags "width" and "height" should open a window with the given size.
Actual behavior
The actual size of the opened window is smaller. Adding a .resizeTo() in the callback of nw.Window.open() doesn't help. Calling .resizeTo() a bit later sets the correct size.
How to reproduce
Only happens in NW2 mode, works as expected with "chromium-args": "--disable-features=nw2".
This yields a window which is smaller than 250x100 (in my case 234x92):
@rogerwang I checked again with 0.43.2 and a minimal code example. The whole behaviour in this issue seems to be related to the transparent window option misbehaviour. It works for non-transparent windows, but if I try to make the window transparent, I get the non-transparent background window as described/shown in #7221 and the actual content element is too small.
NWJS Version : 0.42.5
Operating System : Win10 (1903)
Expected behavior
Calling nw.Window.open() with the window flags "width" and "height" should open a window with the given size.
Actual behavior
The actual size of the opened window is smaller. Adding a .resizeTo() in the callback of nw.Window.open() doesn't help. Calling .resizeTo() a bit later sets the correct size.
How to reproduce
Only happens in NW2 mode, works as expected with "chromium-args": "--disable-features=nw2".
This yields a window which is smaller than 250x100 (in my case 234x92):
This still results in the smaller window:
This result in the correctly sized window:
#7230
The text was updated successfully, but these errors were encountered: