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

VisualElement.InvalidateMeasure not work at Android after update VisualStudio to 17.3.0 preview2 #8270

Closed
xtuzy opened this issue Jun 23, 2022 · 4 comments
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/android 🤖 s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working

Comments

@xtuzy
Copy link

xtuzy commented Jun 23, 2022

Description

After update VisualStudio to 17.3.0 preview2, use VisualElement.InvalidateMeasure() not let layout load MeasureOverride again at Android, it work at Windows, i don't test it at iOS.

Steps to Reproduce

  1. Download maui_issue_8270.zip and Run
  2. Click InvalidateContentView Button, see MeasureOverride information

Version with bug

6.0.400 (current)

Last version that worked well

6.0.312

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 9

Did you find any workaround?

No response

Relevant log output

No response

@xtuzy xtuzy added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Jun 23, 2022
@xtuzy
Copy link
Author

xtuzy commented Jun 23, 2022

Video

  • Android
sharex-20220623170446.mp4
  • Windows
sharex-20220623170344.mp4

@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Jun 23, 2022
@PureWeen
Copy link
Member

@xtuzy this should be fixed when preview3 releases

If you are still seeing this issue with preview3 can you upload a repro to github?

@PureWeen PureWeen added s/needs-repro Attach a solution or code which reproduces the issue and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels Jun 23, 2022
@ghost
Copy link

ghost commented Jun 23, 2022

Hi @xtuzy. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Jun 27, 2022
@ghost
Copy link

ghost commented Jun 27, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@ghost ghost closed this as completed Jun 30, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 30, 2022
@ghost ghost removed the s/no-recent-activity Issue has had no recent activity label Feb 2, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/android 🤖 s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants