-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Closed
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
17.1.0 and 18.0.0-alpha.5
What operating system are you using?
Other Linux
Operating System Version
Arch Linux
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
The window should have no borders when maximized.
Actual Behavior
Window has borders when maximized (at least in GNOME, I have not tested in other interfaces/window managers).
Testcase Gist URL
No response
Additional Information
To reproduce:
- Use a Wayland environment.
- Start the Electron demo app with the flags:
--enable-features=WaylandWindowDecorations --ozone-platform=wayland. - Maximize the window.
- See that the window isn't really maximized and there are still borders.
Some notes:
- The issue is not reproducible in Chromium 99.0.4844.51 with the same start flags, so that's probably not a bug in the window manager.
- When removing the
WaylandWindowDecorationsfeature flag, window maximizes correctly under Wayland (though there are no window decorations, so I have to maximize window using keyboard). - Maybe CC fix: Add support for Wayland window decorations #29618 author?
Reactions are currently unavailable
