Skip to content

refactor: replace OpaqueFrameView with ElectronFrameViewLinux - #51658

Merged
ckerr merged 1 commit into
43-x-yfrom
trop/43-x-y-bp-refactor-replace-opaqueframeview-with-electronframeviewlinux-1778882833790
May 16, 2026
Merged

ckerr merged 1 commit into
43-x-yfrom
trop/43-x-y-bp-refactor-replace-opaqueframeview-with-electronframeviewlinux-1778882833790

Conversation

@trop

@trop trop Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Backport of #51161

See that PR for details.

Notes:

  • Fixed runtime toggling of shadows for frameless windows on Linux.
  • Added support for system-configured button layouts in Window Controls Overlay on Linux.

Replace OpaqueFrameView with ElectronFrameViewLinux, rebased on the new
Chromium FrameViewLinux class. This orphans LinuxFrameLayout, which is
now removed. ElectronDesktopWindowTreeHostLinux now invokes
FrameViewLinux methods on window changes like transparency and shadows.

ElectronFrameViewLayoutLinux extends FrameViewLayoutLinux to handle
three modes: shadow-only, WCO, and transparent. It overrides frame
geometry methods from the base class for these modes and adds a few new
ones for WCO.

Assisted-By: Claude Opus 4.6, Claude Code

Co-authored-by: Athul Iddya <[email protected]>
@trop trop Bot added 43-x-y backport This is a backport PR semver/minor backwards-compatible functionality labels May 15, 2026
@aiddya aiddya mentioned this pull request May 16, 2026
4 of 7 tasks
@ckerr
ckerr merged commit accc847 into 43-x-y May 16, 2026
131 of 133 checks passed
@ckerr
ckerr deleted the trop/43-x-y-bp-refactor-replace-opaqueframeview-with-electronframeviewlinux-1778882833790 branch May 16, 2026 21:10
@release-clerk

release-clerk Bot commented May 16, 2026

Copy link
Copy Markdown

Release Notes Persisted

  • Fixed runtime toggling of shadows for frameless windows on Linux.
  • Added support for system-configured button layouts in Window Controls Overlay on Linux.

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

Labels

43-x-y backport This is a backport PR semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant