maui
maui copied to clipboard
Navigation not working on Windows
Description
Navigation seemed to stop working since last update on Windows when used like this Shell.Current.GoToAsync("//AboutPage", GoToViewAnimation);
This only occurs on windows as far as I know. and it also occurs when you get it from a flyout menu, but I don't know how to replicate that.
(I checked if the buttons were still working by making animations play, and it seems like the code just skips over the navigation part)
Steps to Reproduce
Create a button that serves as a navigation button, and use the Shell.Current.GoToAsync( ); method to navigate. and make sure its in a grid (sometimes a stacklayout). For some reason this only happens with specific pages. I don't really understand the exact logic behind the bug since its always different every time the application restarts. (some pages permanently get glitched)
Link to public reproduction project repository
Link: https://github.com/99067718/DummyApp
Version with bug
6.0.400
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows 10: 10.0.19043 Build 19043
Did you find any workaround?
No
Relevant log output
No log output, the navigation will just get skipped.
Hi @99067718. 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.
I have added the repository link: https://github.com/99067718/DummyApp it acts even weirder now, I don't know whats going on.
(it now crashes instead of getting you stuck, this happens if you haven't interacted with the flyout menu yet.)
@99067718 can you attach a full stack trace?
Also this might be resolved with the latest preview build if you want to try there
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Duplicate of #10524