Open denneboomyo opened 6 years ago
I can reproduce this issue on Windows with nwjs-sdk-v0.28.3. Linux has a different issue:
The issue is also present on v0.29
As a workaround for now, setting the window to non-resizable again after minimizing fixes this issue.
index.html
<html>
<head></head>
<body style="background-color: #181818;" onload="init();">
<button onclick="minimize();" style="width:100px;height:30px">
<script>
function init() {
nw.Window.get().maximize();
nw.Window.get().setResizable(false);
}
function minimize() {
nw.Window.get().minimize();
nw.Window.get().setResizable(false);
}
</script>
</body>
</html>
NWJS Version : 0.28.3 Operating System : Win10 v1709
Expected behavior
The frameless window remains maximized after minimizing and restoring it.
Actual behavior
After minimizing and restoring the frameless window, the window has blank space on the right side, a black border and a close button.
How to reproduce
package.json
index.html
This issue didn't occure in nwjs v0.24.2