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

[Android] Fix flyout behaviour switching exception #22453

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

imuller
Copy link

@imuller imuller commented May 16, 2024

Description of Change

Two issues where fixed in this PR:

  1. When you change the FlyoutBehavior the app crashes
  2. When you change the orientation on a tablet from portrait to landscape with the flyout open, the app crashes. Because the FlyoutBehavior changes

Issues Fixed

#20858
#18161

@imuller imuller requested a review from a team as a code owner May 16, 2024 13:15
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label May 16, 2024
@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@imuller
Copy link
Author

imuller commented May 17, 2024

What to do with these failing tests?

@PureWeen
Copy link
Member

@imuller can you add UITests to this?

Here's an example
https://github.com/dotnet/maui/pull/22492/files
Here are some docs with info how to get the right bits installed
https://github.com/dotnet/maui/wiki/UITests

@imuller
Copy link
Author

imuller commented May 19, 2024

@PureWeen Can you check the added tests

@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

public override string Issue => "FlyoutPage Android app crashing on orientation change when flyout is open";

[Test]
[Category(UITestCategories.FlyoutPage)]]
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you remove the last ] from this line?

D:\a\_work\1\s\src\Controls\tests\TestCases.Shared.Tests\Tests\Issues\Issue20858.cs(16,41): error CS1519: Invalid token ']' in class, record, struct, or interface member declaration [D:\a\_work\1\s\src\Controls\tests\TestCases.iOS.Tests\Controls.TestCases.iOS.Tests.csproj]
    393 Warning(s)
    8 Error(s)

Copy link
Author

Choose a reason for hiding this comment

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

@jsuarezruiz Done ✅

@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@imuller
Copy link
Author

imuller commented May 27, 2024

@jsuarezruiz Any idea why these tests are failing?

@imuller
Copy link
Author

imuller commented May 28, 2024

Any update on this please?

@imuller imuller requested a review from jsuarezruiz May 28, 2024 20:45
@imuller
Copy link
Author

imuller commented May 30, 2024

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants