-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NW2 (and NW1 since 0.43.3): (Linux) Transparency and resize handling in frameless windows not working as intended #7325
Comments
Just to be clear , all these issues are fixed on Windows 10 using the latest nw.js version (0.43.6) |
I can confirm it is actually a bug, I have the same issue on Fedora Linux. Didn't test Windows. |
@jtg-gg do you have time (and Linux system) to help on this? I found that transparency is working if libEGL.so and libGLESv2.so is missing or removed from the NW directory. |
@jtg-gg I just got some lead on the issue, will look to fix it soon. Thanks. |
This is fixed in git and will be available in the next nightly build. |
I can confirm that the latest nightly build works great! Thank you so much! |
thx @rogerwang for handling the issue |
Yes I just tried the nightly build and I confirm too it's finally fixed now even with hardware acceleration enabled ! Thank you for this important fix! |
NWJS 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
#7230
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 :
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!
The text was updated successfully, but these errors were encountered: