Skip to content

[Android] Title of FlyOutPage is not updating anymore after showing a NonFlyOutPage #33615

@3sRykaert

Description

@3sRykaert

Description

Normally whenever you change the DetailPage of a FlyOutPage, the title (the one you see in the hamburger menu) is adjusted to the one of the DetailPage.
After displaying a NonFlyOutPage in between and then changing the detail of the FlyOutPage the title doesn't change anymore.

OK you see the title changing NOT OK title not changing anymore
ApplicationFrameHost_GmQQhXsctQ.mp4
ApplicationFrameHost_HdiAs3rZQl.mp4

Steps to Reproduce

OK Scenario:

  1. Open the sample app from https://github.com/3sRykaert/MauiMemoryleak/tree/FlyOutPageTitle
  2. Click the button to go to the "DetailPage1" on "StartPage" and see the title becomes "DetailPage1"
  3. Click the button to go to the "DetailPage2" on "DetailPage1" and see the title becomes "DetailPage2"
  4. Click the button to go to the "DetailPage1" on "DetailPage2" and see the title becomes "DetailPage1"
  5. Repeat Step 3 & 4 indefinitely => all ok

NOT OK Scenario:

  1. Open the sample app from https://github.com/3sRykaert/MauiMemoryleak/tree/FlyOutPageTitle
  2. Click the button to go to the "DetailPage1" on "StartPage" and see the title becomes "DetailPage1"
  3. Click the button to go to the "NonFlyOutPage" on "DetailPage1" and see the title becomes "DetailPage2"
  4. Wait 3 seconds, it automatically sets the "previous page" (which is DetailPage1) again
  5. Click the button to go to the "DetailPage2" on "DetailPage1" and see the title remains "DetailPage1"
  6. Click the button to go to the "DetailPage1" on "DetailPage2" and see the title remains "DetailPage1"
  7. Repeat Step 5 & 6 indefinitely => Title always remains DetailPage1

Link to public reproduction project repository

https://github.com/3sRykaert/MauiMemoryleak/tree/FlyOutPageTitle (branch FlyOutPageTitle)

Version with bug

10.0.30

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

Tested on Android 14 & 16

Did you find any workaround?

No

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions