mitchchn

#52577: fix: WCO captions not appearing on Linux

Merged
Created: Jul 31, 2026, 2:20:23 PM
Merged: Jul 31, 2026, 10:45:17 PM
3 comments
Target: main

Description of Change

Resolves #52576.

Restores WCO on Linux in Electron 44 alpha/45 nightly.

This removes the opt-out added with the Chromium roll in #52288. Opting out of Views layer management for occlusion tracking is no longer necessary following https://chromium-review.googlesource.com/c/chromium/src/+/8060981, and it no longer works correctly as of https://chromium-review.googlesource.com/c/chromium/src/+/8117151 and https://chromium-review.googlesource.com/c/chromium/src/+/8111037.

Passes the existing tests in api-web-contents-view-spec that guard against this regression:

  • tracks visibility for multiple child WebContentsViews
  • tracks visibility independently when a child WebContentsView is hidden via setVisible

Checklist

Release Notes

Notes: Fixed Window Controls Overlay caption buttons not rendering on Linux.

Backports

44-x-y
In-flight
PR Number
#52580
Waiting to be merged

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron