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: disable animation for win.setSimpleFullScreen on 4.x #19143

Merged
merged 1 commit into from Jul 9, 2019

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented Jul 8, 2019

Description of Change

This PR fixes the bug described in microsoft/vscode#75054.

There is a bug with Chromium that, after setting window style, calling setFrame with animation immediately would block window rendering for a few seconds.

This Chromium bug is fixed in later versions, but it is hard to find out how to backport the fix or how to work around it, disabling the animation is the easist fix and most users would not even notice it.

Checklist

Release Notes

Notes: Fix toggling simple fullscreen being very slow.

@zcbenz zcbenz requested a review from deepak1556 July 8, 2019 00:44
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jul 8, 2019
@deepak1556 deepak1556 requested a review from a team July 8, 2019 09:42
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jul 9, 2019
@zcbenz zcbenz merged commit b8162be into 4-2-x Jul 9, 2019
@release-clerk
Copy link

release-clerk bot commented Jul 9, 2019

Release Notes Persisted

Fix toggling simple fullscreen being very slow.

@zcbenz zcbenz deleted the no-sfs-animation branch July 9, 2019 06:27
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

3 participants