Skip to content

fix: draggable regions updating on bounds change - #34582

Merged
codebytere merged 1 commit into
mainfrom
draggable-regions-move-windows
Jun 17, 2022
Merged

fix: draggable regions updating on bounds change#34582
codebytere merged 1 commit into
mainfrom
draggable-regions-move-windows

Conversation

@codebytere

Copy link
Copy Markdown
Member

Description of Change

Closes #34552.

Fixes an issue where draggable regions were not recalculated when BrowserView bounds changed. This was happening because we didn't issue a call to UpdateDraggableRegions after bounds changed on Windows, as we do on macOS:

UpdateDraggableRegions(draggable_regions_);

Checklist

Release Notes

Notes: Fixed an issue where draggable regions were not recalculated when BrowserView bounds changed on Windows.

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/18-x-y labels Jun 15, 2022
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jun 15, 2022
Comment thread shell/browser/native_browser_view_views.cc Outdated
@codebytere
codebytere requested a review from zcbenz June 16, 2022 10:25
@codebytere
codebytere force-pushed the draggable-regions-move-windows branch from c23201d to f01c720 Compare June 16, 2022 10:25
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jun 16, 2022
@codebytere
codebytere merged commit 20538c4 into main Jun 17, 2022
@codebytere
codebytere deleted the draggable-regions-move-windows branch June 17, 2022 10:01
@release-clerk

release-clerk Bot commented Jun 17, 2022

Copy link
Copy Markdown

Release Notes Persisted

Fixed an issue where draggable regions were not recalculated when BrowserView bounds changed on Windows.

@trop

trop Bot commented Jun 17, 2022

Copy link
Copy Markdown
Contributor

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

@trop

trop Bot commented Jun 17, 2022

Copy link
Copy Markdown
Contributor

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

@trop

trop Bot commented Jun 17, 2022

Copy link
Copy Markdown
Contributor

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

khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: -webkit-app-region not recalculated when BrowserView bounds changed

2 participants