Skip to content

Conversation

@trop
Copy link
Contributor

@trop trop bot commented Sep 26, 2025

Backport of #48376

See that PR for details.

Notes: Fixed excessive WindowServer GPU usage on macOS Tahoe 26.

…indowServer GPU load (#48376)

fix: macOS stop overriding private cornerMask API to fix WindowServer GPU load spike

Electron fetched a custom `_cornerMask` for `ElectronNSWindow` to smooth
vibrancy corners. On macOS 15 (Tahoe) that private hook forces the window
shadow to be rendered from a fully transparent surface, causing the
WindowServer GPU load regression. Remove the `cornerMask` property and
the `_cornerMask` override so we stay on Apple’s default shadow path.

Co-authored-by: avarayr <[email protected]>
@trop trop bot requested a review from a team September 26, 2025 19:41
@trop trop bot added 38-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Sep 26, 2025
@VerteDinde VerteDinde merged commit 81db417 into 38-x-y Sep 27, 2025
146 of 156 checks passed
@VerteDinde VerteDinde deleted the trop/38-x-y-bp-fix-macos-26-tahoe-stop-overriding-private-cornermask-api-to-fix-windowserver-gpu-load-1758915684391 branch September 27, 2025 23:16
@release-clerk
Copy link

release-clerk bot commented Sep 27, 2025

Release Notes Persisted

Fixed excessive WindowServer GPU usage on macOS Tahoe 26.

haiodo added a commit to hcengineering/platform that referenced this pull request Oct 13, 2025
To fix Macos Tahoe issues
electron/electron#48398

Signed-off-by: Andrey Sobolev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

38-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.

2 participants