nw.js
nw.js copied to clipboard
Window animations do not show in Windows
NWJS Version : 0.43.6 Operating System : Windows 10
Expected behaviour
When a frameless window is closed, minimised or maximised via code, the window should show animations as if it were not frameless (the default Windows window animations). This used to happen before nw2, and works on nw2 with the "chromium-args": "--disable-features=nw2"
property set in the package.json
file.
Actual behaviour
The window goes straight into its new position without any animation.
How to reproduce
- Be on Windows
- Have
"window":{"frame":true}
set inpackage.json
- Try closing the window with
nw.Window.get().close(true)
. The window will just disappear.
i can confirm this is indeed an case.
Are there any updates about this issue?
@rogerwang can you please look into this issue?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Are there any updates about this issue?
I am currently facing a similar problem. In my case, it happens in case of frameless windows. ("window":{"frame":false})
and when I call "nw.Window.get().close(true)"
it ends without animation. In normal window mode there is no problem. Only in frameless window does the problem occur. The version I am using is nw v0.73.
I'm having the same issue with nw.Window.get().minimize()
, nw.Window.get().maximize()
and nw.Window.get().restore()
. Also, when I move my mouse to any edge of the window when it's maximised, the resize cursor appears which prevents me from moving the window when my cursor is at the top of the screen. This doesn't happen when the window isn't frameless.