Skip to content

WCO titlebar buttons don't appear on Linux #52576

Closed

Description

@mitchchn

Preflight Checklist

Electron Version

44.0.0-alpha.8

What operating system(s) are you using?

Other Linux

Operating System Version

CachyOS (rolling), KDE Plasma, Wayland

What arch are you using?

x64

Last Known Working Electron version

44.0.0-alpha.7

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

WCO buttons should appear for a frameless window with {titlebarOverlay: true, titlebarStyle: "hidden"}.

Actual Behavior

The window controls are not visible. The caption container is still clickable and responds to being dragged.

Testcase Gist URL

No response

Additional Information

Although it seemed likely that this regression was introduced by #52461, which first landed in this exact build, I believe the timing is entirely coincidental and the regression was introduced by the Chrome roll on the same day that brought in this views layering change:

https://chromium-review.googlesource.com/c/chromium/src/+/8111037

Disabling the flag (--disable-features=NativeViewHostManagesLayers) restores WCO on 44 alpha and 45 nightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions