Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove corner mask override to increase window resize performance #24642

Merged

Conversation

gerhardberger
Copy link
Contributor

@gerhardberger gerhardberger commented Jul 19, 2020

Description of Change

This PR addresses issue #23980 that has been around since electron 9.0.0, when the override of an internal method on NSWindow (to have smooth corners on a vibrant window), caused very bad/laggy resize performance for the whole window, even if vibrancy not applied.

Removing this produced still smooth corners on macOS 10.15.5, so probably it's already obsolete.

Checklist

  • This is NOT A BREAKING CHANGE. Breaking changes may not be merged to master until 11-x-y is branched.

Release Notes

Notes: fix: remove unnecessary corner mask overriding to increase window resize performance

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jul 19, 2020
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jul 20, 2020
@zcbenz zcbenz merged commit 6fa3406 into electron:master Jul 23, 2020
@release-clerk
Copy link

release-clerk bot commented Jul 23, 2020

Release Notes Persisted

fix: remove unnecessary corner mask overriding to increase window resize performance

@trop
Copy link
Contributor

trop bot commented Jul 23, 2020

I have automatically backported this PR to "10-x-y", please check out #24701

@trop
Copy link
Contributor

trop bot commented Jul 23, 2020

I have automatically backported this PR to "9-x-y", please check out #24702

@msavin
Copy link

msavin commented Aug 4, 2020

Would the corner fix be difficult to bring to Electron 8?

@zcbenz
Copy link
Member

zcbenz commented Aug 5, 2020

/trop run

@zcbenz
Copy link
Member

zcbenz commented Aug 5, 2020

@msavin The problem being solved by this PR does not exist in 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants