fix: MacOS 26 Tahoe - stop overriding private cornerMask API to fix WindowServer GPU load#48398
Merged
VerteDinde merged 1 commit into38-x-yfrom Sep 27, 2025
Conversation
…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 <7735415+avarayr@users.noreply.github.com>
Merged
5 tasks
VerteDinde
approved these changes
Sep 26, 2025
|
Release Notes Persisted
|
5 tasks
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 <haiodo@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #48376
See that PR for details.
Notes: Fixed excessive WindowServer GPU usage on macOS Tahoe 26.