Transparent Window can't go fullscreen
imshvc opened this issue · 1 comments
Issue Type
Before opening an issue, please search and see if it has already been raised.
-
Bug Report
-
Feature Request
-
Successfully reproduced against the latest version of NW.js?
Please use our mailing list or Gitter chatroom to ask questions. The issue tracker is only for bugs and feature requests, in English only. Please note that issues without a repro or code snippet are less likely to be resolved.
Current/Missing Behavior
Expected/Proposed Behavior
Additional Info
- Operating System: Microsoft Windows [Version 10.0.19045.2364]
- NW.js Version: v0.80.0
- Repro Link:
- Code snippet:
- Crash report:
See attached video for showcase:
_bug.mp4
My package JSON:
{
"main": "bundle/app.htm",
"name": "[redacted]",
"nodejs": true,
"chromium-args": "--enable-transparent-visuals --disable-gpu --disable-lcd-text",
"window": {
"fullscreen": false,
"kiosk": false,
"position": null,
"resizable": true,
"show": true,
"title": "[redacted]",
"width": 1000,
"height": 600,
"show_in_taskbar": true,
"frame": false,
"icon": "app.png",
"transparent": true
},
"crash_report_url": ""
}
This issue does not occur when window.transparent
is false
I need this feature working, as the application must use a custom window frame.
The apps appearance will need to be themed i.e. user-configurable, but to also support transitioning from Windows 10 to 11 and vice-versa.
I cannot use border radius on the window itself if the fullscreen functionality doesn't work when transparent windows are used.
Perhaps one could hack that feature up (our own fullscreen method and state) but it would be an ugly hack, and a lot of code would need to be changed for it to work properly again... especially on the frontend.