-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
19.0.7
What operating system are you using?
Ubuntu
Operating System Version
22.04
What arch are you using?
x64
Last Known Working Electron version
19.0.0-alpha.3
Expected Behavior
Running under wayland natively (--ozone-platform=wayland) and enabling window decorations (app.commandLine.appendSwitch('enable-features', 'WaylandWindowDecorations'); in main.js) should show a title bar which is clickable.
Below is from 19.0.0-alpha.3 where it still worked:
Actual Behavior
Running under wayland natively (--ozone-platform=wayland) and enabling window decorations (app.commandLine.appendSwitch('enable-features', 'WaylandWindowDecorations'); in main.js) shows mangled transparent border on the left side instead of a title bar and is not clickable:
On electron 19 is broke during the alpha and beta cycle:
Below is from 19.0.0-alpha.4 where it first broke, here the buttons are still clickable:
Starting with 19.0.0-beta.4 the buttons are also no longer clickable:
With 19.0.0 up and until 19.0.7 the same, broken titlebar and not clickable:
On electron 18-x-y it also broke between 18.2.0 and 18.2.1, but only the buttons cannot be clicked any longer:
18.2.0 still everything ok, titlebar there and clickable:
18.2.1: Titlebar still there, but no longer clickable:
Up and including 18.3.5 the titlebar stays there, but not clickable:
Testcase Gist URL
https://gist.github.com/csett86/5d45c47cb1d5331b9ede0788ff5ae284
Additional Information
To reproduce with the gist, you need to add --ozone-platform=wayland to the user-provided flags, as I could find a way to add this to the fiddle (the WaylandWindowDecorations are part of the fiddle):







