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
30.0.6
What operating system are you using?
Other Linux
Operating System Version
Linux 48HVWD3 6.9.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:38 +0000 x86_64 GNU/Linux
What arch are you using?
x64
Last Known Working Electron version
None, never seen this working under Wayland
Expected Behavior
When using any Electron app under Linux with Wayand and setting the window to full screen, the window title, just like the rest of the window, should fill the entire screen.
Actual Behavior
The window title is missing a few pixels on the left, top, and right border of the title only.
I can reproduce this issue under Linux with Wayland and GNOME 46, with 125% scaling on my screen.
To reproduce:
- Open a terminal
- Run electron30 with the Wayland flags:
electron30 --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto
- Maximize the electron window that appears
The terminal will show an error:
[179576:0521/164350.919483:ERROR:window_frame_provider_gtk.cc(407)] Frame thickness mismatch! Old: [x:5,5 y:2,8], new: [x:5,5 y:3,8]. Current scale is 1.25. Please report to crbug.com/1240905.
If you look closely at the title bar of the application, you will see the desktop background around the top, left, and right of the title bar only. The rest of the window is correctly maximized.
See screenshot:
Testcase Gist URL
No response
Additional Information
No response