Skip to content

Skip BrowserView::Layout() after exiting fullscreen mode (uplift to 1.89.x)#34636

Merged
kjozwiak merged 3 commits into1.89.xfrom
pr34590-sko-fullscreen_1.89.x
Mar 11, 2026
Merged

Skip BrowserView::Layout() after exiting fullscreen mode (uplift to 1.89.x)#34636
kjozwiak merged 3 commits into1.89.xfrom
pr34590-sko-fullscreen_1.89.x

Conversation

@emerick
Copy link
Contributor

@emerick emerick commented Mar 11, 2026

Uplift of #34590
Resolves brave/brave-browser#53470

Pre-approval checklist:

  • You have tested your change on Nightly.
  • This contains text which needs to be translated.
    • There are more than 7 days before the release.
    • I've notified folks in #l10n on Slack that translations are needed.
  • The PR milestones match the branch they are landing to.

Pre-merge checklist:

  • You have checked CI and the builds, lint, and tests all pass or are not related to your PR.

Post-merge checklist:

  • The associated issue milestone is set to the smallest version that the changes is landed on.

On Mac, browser view is trying to layout its children from BrowserView::Layout()
after exiting fullscreen mode. This can cause the browser view to be laid out
with the wrong bounds. This patch skips the layout if the browser view is not
in the visual client area of the browser frame view.
@emerick emerick added this to the 1.89.x - Beta milestone Mar 11, 2026
@emerick emerick self-assigned this Mar 11, 2026
@emerick emerick requested a review from a team as a code owner March 11, 2026 02:44
Copy link
Member

@kjozwiak kjozwiak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uplift into 1.89.x approved 👍

@kjozwiak kjozwiak merged commit 139d3da into 1.89.x Mar 11, 2026
21 checks passed
@kjozwiak kjozwiak deleted the pr34590-sko-fullscreen_1.89.x branch March 11, 2026 06:41
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.

3 participants