Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Open
trop[bot] wants to merge 1 commit into
42-x-yelectron/electron:42-x-yfrom
trop/42-x-y-bp-fix-don-t-treat-transparent-overlays-as-occluders-on-macos-1784357926396electron/electron:trop/42-x-y-bp-fix-don-t-treat-transparent-overlays-as-occluders-on-macos-1784357926396Copy head branch name to clipboard
Open

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

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.