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: allow maximizing when window enters tablet mode with WCO #35617

Merged
merged 3 commits into from Sep 13, 2022

Conversation

rzhao271
Copy link
Contributor

@rzhao271 rzhao271 commented Sep 8, 2022

Description of Change

This change backports CL 3753528 to keep Electron's WCO behaviour for WinCaptionButtonContainer::UpdateButtons in sync with Chromium.

Downstream issue: microsoft/vscode#159851

CC @deepak1556

Checklist

Release Notes

Notes: Enable WCO maximize button when window enters tablet mode and is not already maximized.

@rzhao271 rzhao271 marked this pull request as ready for review September 8, 2022 23:09
@deepak1556
Copy link
Member

Can you isolate the PIP change from touch mode change since they are different issues. Thanks!

@rzhao271 rzhao271 changed the title fix: Backport CL 3733039 and CL 3753528 for WCO fix: Backport CL 3753528 for WCO Sep 9, 2022
@deepak1556 deepak1556 changed the title fix: Backport CL 3753528 for WCO fix: allow maximizing when window enters tablet mode with WCO Sep 12, 2022
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Sep 12, 2022
@deepak1556 deepak1556 added semver/patch backwards-compatible bug fixes target/19-x-y target/21-x-y PR should also be added to the "21-x-y" branch. labels Sep 12, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Sep 12, 2022
Co-authored-by: Robo <hop2deep@gmail.com>
@rzhao271 rzhao271 requested review from deepak1556 and removed request for codebytere September 12, 2022 16:16
@jkleinsc jkleinsc merged commit 62502b8 into electron:main Sep 13, 2022
@release-clerk
Copy link

release-clerk bot commented Sep 13, 2022

Release Notes Persisted

Enable WCO maximize button when window enters tablet mode and is not already maximized.

@trop
Copy link
Contributor

trop bot commented Sep 13, 2022

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

@trop
Copy link
Contributor

trop bot commented Sep 13, 2022

I was unable to backport this PR to "19-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot removed the target/19-x-y label Sep 13, 2022
@trop
Copy link
Contributor

trop bot commented Sep 13, 2022

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

@trop trop bot added needs-manual-bp/19-x-y merged/21-x-y PR was merged to the "21-x-y" branch. and removed target/21-x-y PR should also be added to the "21-x-y" branch. in-flight/20-x-y labels Sep 13, 2022
@rzhao271 rzhao271 deleted the rzhao271/wco-max-fix branch September 14, 2022 15:25
@trop
Copy link
Contributor

trop bot commented Sep 14, 2022

@rzhao271 has manually backported this PR to "19-x-y", please check out #35677

khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
…on#35617)

* fix: Backport CL 3753528 for WCO

* Update comment

* Update shell/browser/ui/views/win_caption_button_container.cc

Co-authored-by: Robo <hop2deep@gmail.com>

Co-authored-by: Robo <hop2deep@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/21-x-y PR was merged to the "21-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants