NW2 (and NW1 since 0.43.3): (Linux) Transparency and resize handling in frameless windows not working as intended
See original GitHub issueNWJS Version : 0.43.6 Operating System : Linux (Tested on KDE Plasma and gnome-shell)
Expected behavior
On Linux, a frameless (frame: false in manifest) nw.js window should be transparent (transparent: true in manifest) and you should be able to resize this window (resizable: true in manifest) when you put the mouse pointer on its corners
Actual behavior
On Linux, in the latest versions even if you disable the new nw2 mode (–disable-features=nw2) the problem persists. I found that the last version that worked fine at least disabling the nw2 mode was 0.43.2, after this version the transparency is completely broken in both modes. The resize handling instead is broken only in 0.43.2 with nw2 enabled, afterwards It seems to work fine.
How to reproduce
Just open a nw window on linux with this manifest :
{
"name": "nw-demo",
"version": "0.0.1",
"main": "index.html",
"window": {
"width": 600,
"height": 600,
"frame": false,
"transparent": true,
"position": "center",
"resizable": true
},
"chromium-args": ""
}
SCREENSHOTS :
NW JS VERSION : 0.43.6 , nw1 MODE TRANSPARENCY : IT DOESNT WORK! RESIZE HANDLING : IT WORKS!
NW JS VERSION : 0.43.6 , nw2 MODE TRANSPARENCY : IT DOESNT WORK! RESIZE HANDLING : IT WORKS!
LAST FULLY WORKING VERSION (PARTIALLY, RESIZE HANDLING IT DOESNT EXIST IN NW2 MODE)
NW JS VERSION : 0.43.2 , nw1 MODE TRANSPARENCY : IT WORKS! RESIZE HANDLING : IT WORKS!
NW JS VERSION : 0.43.2 , nw2 MODE TRANSPARENCY : IT WORKS! RESIZE HANDLING : IT DOESNT WORK!
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
This is fixed in git and will be available in the next nightly build.
thx @rogerwang for handling the issue