Skip to content

fix: don't treat transparent overlays as occluders on macOS#52390

Open
trop[bot] wants to merge 1 commit into
42-x-yfrom
trop/42-x-y-bp-fix-don-t-treat-transparent-overlays-as-occluders-on-macos-1784357926396
Open

fix: don't treat transparent overlays as occluders on macOS#52390
trop[bot] wants to merge 1 commit into
42-x-yfrom
trop/42-x-y-bp-fix-don-t-treat-transparent-overlays-as-occluders-on-macos-1784357926396

Conversation

@trop

@trop trop Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Backport of #52365

See that PR for details.

Notes: Fixed a window being marked hidden and background-throttled on macOS when covered by a transparent or click-through window.

@trop
trop Bot requested a review from a team as a code owner July 18, 2026 06:59
@trop
trop Bot requested a review from VerteDinde July 18, 2026 06:59
@trop trop Bot added 42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jul 18, 2026
@jkleinsc

Copy link
Copy Markdown
Member

/trop update-branch

@trop

trop Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

This branch could not be updated because there is a merge conflict with 42-x-y. Please resolve the conflict manually.

Chromium's manual occlusion heuristic (macOS 13.3-25.x) only compares
window frames, so a transparent or click-through window covering
another BrowserWindow marked the covered window occluded, flipping its
visibilityState to hidden and throttling it. Skip candidate occluders
that are faded, ignore mouse events, or are non-opaque without an
opaque background.

Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
@jkleinsc
jkleinsc force-pushed the trop/42-x-y-bp-fix-don-t-treat-transparent-overlays-as-occluders-on-macos-1784357926396 branch from 64994a1 to 6a3b79c Compare July 20, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

42-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant