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

Windows Navigation Bar does not display Title and/or ToolbarItems Correctly #5887

Closed
Orgbrat opened this issue Apr 7, 2022 · 1 comment
Closed
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout p/1 Work that is critical for the release, but we could probably ship without platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@Orgbrat
Copy link

Orgbrat commented Apr 7, 2022

Description

The NavigationBar does not stay in sync with the Shell Navigation system. Navigation to different Shell pages display incorrect page titles and may or may not display ToolbarItems or also may display incorrect Toolbar Items.

Steps to Reproduce

  1. Create new MAUI App (have Included a sample to save the effort)
  2. Convert to a Shell Application with View Models
  3. Add a Items Page on Flyout menu
  4. Add NewItem and ItemDetails pages with ToolbarItem
  5. Open Items page and use Navigation bar to open the New page (the NewItem page has the Items Title still plus the Items page ToolbarItems) Click on Main link in menu and then click on the Items in the Menu. You will see the NewItem page with the correct Title displayed with the correct ToolbarItems)
  6. If you then click the Cancel toolbar Item on New Item it navigates back to the Items page but with the NewItem page Navigation items still displayed.

Sample: MauiShellPr14.zip

Version with bug

Preview 14 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows SDK 10.0.19041

Did you find any workaround?

No

Relevant log output

No response

@Orgbrat Orgbrat added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Apr 7, 2022
@Redth Redth added area-controls-shell Shell Navigation, Routes, Tabs, Flyout s/verified Verified / Reproducible Issue ready for Engineering Triage and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels Apr 7, 2022
@Redth Redth added this to the 6.0.300-rc.3 milestone Apr 7, 2022
@Redth Redth modified the milestones: 6.0.300-rc.3, 6.0.300 Apr 27, 2022
@davidortinau
Copy link
Contributor

This is working as expected on main (rc3). The title always reflects the correct content.

Items:
image

Click the plus icon to add new item:
image

Click Main in flyout:
image

Click Items to return to that stack which left off with "New Item":
image

Click cancel X and see:
image

@davidortinau davidortinau added the p/1 Work that is critical for the release, but we could probably ship without label Apr 30, 2022
@ghost ghost locked as resolved and limited conversation to collaborators May 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout p/1 Work that is critical for the release, but we could probably ship without platform/windows 🪟 s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants