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

Prevent measure in flexlayout during arrange pass #22411

Merged
merged 10 commits into from
May 19, 2024
Merged

Conversation

Foda
Copy link
Member

@Foda Foda commented May 14, 2024

Description of Change

Prevent measure in flexlayout during arrange pass, which fixes a layout cycle crash on Windows. No automated test for this one as I haven't quite figured out how to replicate a 125% display res change on CI

Issues Fixed

Fixes #22209 #9075

@Foda Foda added platform/windows 🪟 area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-flex FlexLayout issues labels May 14, 2024
@Foda Foda requested a review from PureWeen May 14, 2024 21:49
@Foda Foda requested a review from a team as a code owner May 14, 2024 21:49
@MartyIX
Copy link
Collaborator

MartyIX commented May 15, 2024

@Foda
Copy link
Member Author

Foda commented May 15, 2024

Are these two comments:

possibly relevant here?

Yup! This PR also fixes that issue

@PureWeen
Copy link
Member

/rebase

PureWeen
PureWeen previously approved these changes May 16, 2024
PureWeen
PureWeen previously approved these changes May 17, 2024
@PureWeen PureWeen merged commit 60a46c5 into main May 19, 2024
49 checks passed
@PureWeen PureWeen deleted the foda/FlexLayoutCrash branch May 19, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter layout-flex FlexLayout issues platform/windows 🪟
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Windows] FlexLayout crashes when using a custom display scale factor value (regression)
4 participants