You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a menu in a desktop application breaks when you navigate to a second page and back to a first page. I didn't do further tests to see what other situations this may break in, this is only tested with Navigation.PushAsync and Navigation.PopAsync style navigations.
Problem impacts both Windows and macOS.
Example videos
Windows:
Recording.2024-04-06.160429.mp4
macOS:
Screen.Recording.2024-04-06.at.4.11.32.PM.mov
Steps to Reproduce
Create MAUI app
Add 2 pages and a way to navigate between them
Add MenuBarItem and MenuFlyoutItem on the first page
Set that MenuFlyoutItem to do something
Run application, go to second page and back to first
That MenuFlyoutItem appears to no longer do anything.
Description
Having a menu in a desktop application breaks when you navigate to a second page and back to a first page. I didn't do further tests to see what other situations this may break in, this is only tested with
Navigation.PushAsyncandNavigation.PopAsyncstyle navigations.Problem impacts both Windows and macOS.
Example videos
Windows:
Recording.2024-04-06.160429.mp4
macOS:
Screen.Recording.2024-04-06.at.4.11.32.PM.mov
Steps to Reproduce
MenuBarItemandMenuFlyoutItemon the first pageMenuFlyoutItemto do somethingThat
MenuFlyoutItemappears to no longer do anything.Link to public reproduction project repository
https://github.com/beeradmoore/maui-issue-MenuBarStopsWorkingAfterNavigation
Version with bug
8.0.14
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows, macOS
Affected platform versions
Windows 11, macOS 14.4.1
Did you find any workaround?
Have not looked
Relevant log output
No response