Description
NWJS Version : 0.49
Operating System : Windows 10 2004
Expected behavior
When a transparent window is created with frames enabled, the "normal" Windows frame (typical titlebar with thin lines on the sides and bottom of window) should be shown with a transparent background.
Actual behavior
The window is drawn with "old style" Windows frames and transparency doesn't work.
How to reproduce
The following code can be used to reproduce this issue.
package.json
{
"name": "bug",
"version": "0.1",
"main": "./bug.html",
"window": {
"transparent": true
}
}
bug.html
<html>
<head>
<title>bug</title>
<style>body { color: #fff }</style>
</head>
<body>
This is a bug.
</body>
</html>
With the above code, the following is seen. Note the "bug" window is the above application while the other window is NW.js being run without any scripts (showing a "normal" frame).
If resizable: false
is added to package.json, there is no change in behavior.
If frame: false
is added to package.json, the frame is correctly removed and transparency works properly.