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

Using FlyoutPage with NavigationPage not working on dotnet 8 #19243

Closed
filipemelo opened this issue Dec 6, 2023 · 7 comments
Closed

Using FlyoutPage with NavigationPage not working on dotnet 8 #19243

filipemelo opened this issue Dec 6, 2023 · 7 comments
Labels
platform/android 🤖 s/needs-info Issue needs more info from the author t/bug Something isn't working

Comments

@filipemelo
Copy link

filipemelo commented Dec 6, 2023

Description

Using combo with FlyoutPage and NavigationPage is not changing the title.

Steps to Reproduce

This is happening on dotnet 8.0.0.3

  1. I have the error happening on this project. (link)
  2. Create a FlyoutPage, add an NavigationPage inside and control the detail using C# button. (link)
  3. On button click handler try to point Detail to a new NavigationPage.
  4. ((FlyoutPage)App.Current.MainPage).Detail = new NavigationPage(new Page2()); (link)
  5. When you run the project on Android and click to the button Page 2 or Page 3, you notice the title is not changed.
    image

Link to public reproduction project repository

https://github.com/filipemelo/MauiStudy/tree/master/AppFlyoutPage

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android S22

Did you find any workaround?

I tried several, but I was able to do it.
The only thing that changed the tile was using a Navigation.PushAsync(), but I don't want this behavior, because I want to change to point to a new NavigationPage with a new Page inside.

Relevant log output

No response

@filipemelo filipemelo added the t/bug Something isn't working label Dec 6, 2023
@Brosten
Copy link

Brosten commented Dec 6, 2023

I'm suffering from the same issue. The complete navigationbar seems unchanged

@SmartmanApps
Copy link

This is a duplicate issue - not sure what the number was. There's already a fix awaiting GA. The issue is/was with NavigationPage titles, not Flyout menu.

@SmartmanApps
Copy link

Here it is #18902 (comment)

@mattleibow
Copy link
Member

mattleibow commented Dec 6, 2023

We think this was fixed in the upcoming SR1 (#18684), and you can verify this by using the nightly builds: https://github.com/dotnet/maui/wiki/Nightly-Builds

Please try it out and let us know.

@mattleibow mattleibow added the s/needs-info Issue needs more info from the author label Dec 6, 2023
@ghost
Copy link

ghost commented Dec 6, 2023

Hi @filipemelo. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. 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.

@mattleibow
Copy link
Member

Duplicate of #18050

@mattleibow mattleibow marked this as a duplicate of #18050 Dec 6, 2023
@filipemelo
Copy link
Author

Thank you for the answers. I will close as this is duplicated.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/android 🤖 s/needs-info Issue needs more info from the author t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants