Skip to content

[BUG] Padding/border around fullscreen Electron on Wayland window with WaylandWindowDecorations enabled #219

Open
@SilverMight

Description

@SilverMight

Describe the bug
Electron windows running on Wayland (--ozone-platform-hint=wayland) with the WaylandWindowDecorations feature enabled (--enable-features=WaylandWindowDecorations) have a border around them, even after the CSD fixes in Electron (electron/electron#34955). Problem does not occur on other themes. Tested on GNOME 42/43.

To Reproduce
Steps to reproduce the behavior:

  1. Launch any electron post-CSD fixes with the Dracula GTK theme.
  2. Try to fullscreen it and see that there is a border around the window.

Expected behavior
Properly fullscreened Window, no borders.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot from 2022-10-22 11-55-40
Electron 22 window ran with GTK_THEME=Dracula

Screenshot from 2022-10-22 11-55-56
Electron 22 window ran with GTK_THEME=Adwaita

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions