maui icon indicating copy to clipboard operation
maui copied to clipboard

[BUG] Windows Shell Flyout Navigation fails to navigate to same page after navigating back from it

Open ne0rrmatrix opened this issue 1 year ago • 3 comments

Description

Open sample app and navigate to any page. Click on back button. Then navigate to page you just left. It fails to change page. This affects all pages in sample app. This is a windows only issue. If you navigate to another page then go back to page you first navigated to it works fine. This only is an issue if you navigate to a page and then back. Then try to navigate to the same page.

Steps to Reproduce

  1. Open and run sample app from Maui community toolkit.
  2. Navigate to any page in menu.
  3. Click back button.
  4. Navigate to the same page
  5. Does not work!

Link to public reproduction project repository

https://github.com/CommunityToolkit/Maui

Version with bug

8.0.6 SR1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10 Build 10.0.19041.0

Did you find any workaround?

If you want to navigate back to the page you were just on is to navigate to any other page then click back and then navigate to the page you want. As long as you do not try to load the same page after clicking on back button it works.

Relevant log output

No response

ne0rrmatrix avatar Feb 16 '24 07:02 ne0rrmatrix

How are you navigating? Tapping the shell items in the flyout or via some Navigation.PushAsync or Shell.Current.GotoAsync?

mattleibow avatar Feb 20 '24 19:02 mattleibow

Hi @ne0rrmatrix. 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.

ghost avatar Feb 20 '24 19:02 ghost

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

ghost avatar Feb 20 '24 19:02 ghost

This issue has been automatically marked as stale because it has been marked as requiring author feedback 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 avatar Feb 26 '24 00:02 ghost

How are you navigating? Tapping the shell items in the flyout or via some Navigation.PushAsync or Shell.Current.GotoAsync?

Shell.Current.PushAsync() is what we use. The flyout menu itself works fine. It is when we navigate inside page to subpage it fails to navigate. We are using shell flyout menu as base menu.

ne0rrmatrix avatar Feb 26 '24 00:02 ne0rrmatrix