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.44.0
Operating System : Linux (Fedora 31, both kde and gnome), Windows 10
Expected behavior
When you bind two windows both in size and position you should be able also to resize one window and the other should correctly react to the changes defined in the 'resize' event just like in nw1 mode (--disable-features=nw2).
Actual behavior
In Nw2 mode if you bind two windows in size using the 'resize' event and its callback parameters results in a weird flickering issue which prevents the application to work normally.
I also found that this code will work even in nw2 mode :
However, if you try to add something to the resizeTo call the bug will appear:
secondWin.on('resize', (w, h) => {
console.log('ok main win resized');
// with this line the bug appears in nw2 mode
mainWin.resizeTo(w + 50, h + 50);
});
NWJS Version : 0.44.0
Operating System : Linux (Fedora 31, both kde and gnome), Windows 10
Expected behavior
When you bind two windows both in size and position you should be able also to resize one window and the other should correctly react to the changes defined in the 'resize' event just like in nw1 mode (--disable-features=nw2).
Actual behavior
In Nw2 mode if you bind two windows in size using the 'resize' event and its callback parameters results in a weird flickering issue which prevents the application to work normally.
I also found that this code will work even in nw2 mode :
However, if you try to add something to the resizeTo call the bug will appear:
How to reproduce
DEMO: nw2-resize-two-windows-bug.zip
The text was updated successfully, but these errors were encountered: