Skip to content

[Windows] Flyout Menu Icon disappears from Window Title Bar after Navigation #28240

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

Merged
merged 5 commits into from
Mar 28, 2025

Conversation

NirmalKumarYuvaraj
Copy link
Contributor

@NirmalKumarYuvaraj NirmalKumarYuvaraj commented Mar 7, 2025

Issue Details:

The Menu icon disappear after navigating to the second page from flyout.

Root Cause:

The anyPagesPushed function returned true, which caused the *drawerToggleVisible variable to be set to false. The visibility of the TogglePaneButton is determined by *drawerToggleVisible. As a result, the TogglePaneButton is not visible after navigation.

Description of Change:

Restricted the anyPagesPushed to non windows platforms.

Validated the behaviour in the following platforms

  • Android
  • Windows
  • iOS
  • Mac

Issues Fixed

Fixes #28130

Output

FlyoutPage

Before After
Before_flyout.mp4
After_flyout.mp4

Shell

Before After
Before_shell.mp4
After_shell.mp4

@dotnet-policy-service dotnet-policy-service bot added community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration labels Mar 7, 2025
@jsuarezruiz jsuarezruiz added area-controls-shell Shell Navigation, Routes, Tabs, Flyout platform/windows labels Mar 7, 2025
@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@MitchBomcanhao
Copy link

but... shouldn't the menu button be unavailable when you navigate to some other page?
it has always worked like that on both iOS and Android, and now that finally it is doing the same thing on windows you're logging it as a bug 😆

@NirmalKumarYuvaraj NirmalKumarYuvaraj marked this pull request as ready for review March 7, 2025 14:36
@NirmalKumarYuvaraj NirmalKumarYuvaraj requested a review from a team as a code owner March 7, 2025 14:36
@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

jsuarezruiz
jsuarezruiz previously approved these changes Mar 26, 2025
@jsuarezruiz
Copy link
Contributor

@NirmalKumarYuvaraj Could you rebase and fix the conflict?

@PureWeen PureWeen changed the base branch from main to inflight/current March 28, 2025 15:58
@PureWeen PureWeen merged commit fcd590e into dotnet:inflight/current Mar 28, 2025
1 check passed
github-actions bot pushed a commit that referenced this pull request Apr 2, 2025
…igation (#28240)

* Fixed drawer toggle button visiblity

* Update ToolbarExtensions.cs

* added test cases

* added shell test cases

* Update NavigationPageToolbar.cs
github-actions bot pushed a commit that referenced this pull request Apr 3, 2025
…igation (#28240)

* Fixed drawer toggle button visiblity

* Update ToolbarExtensions.cs

* added test cases

* added shell test cases

* Update NavigationPageToolbar.cs
github-actions bot pushed a commit that referenced this pull request Apr 8, 2025
…igation (#28240)

* Fixed drawer toggle button visiblity

* Update ToolbarExtensions.cs

* added test cases

* added shell test cases

* Update NavigationPageToolbar.cs
bhavanesh2001 pushed a commit to bhavanesh2001/maui that referenced this pull request Apr 11, 2025
…igation (dotnet#28240)

* Fixed drawer toggle button visiblity

* Update ToolbarExtensions.cs

* added test cases

* added shell test cases

* Update NavigationPageToolbar.cs
PureWeen pushed a commit that referenced this pull request Apr 11, 2025
…igation (#28240)

* Fixed drawer toggle button visiblity

* Update ToolbarExtensions.cs

* added test cases

* added shell test cases

* Update NavigationPageToolbar.cs
github-actions bot pushed a commit that referenced this pull request Apr 11, 2025
…igation (#28240)

* Fixed drawer toggle button visiblity

* Update ToolbarExtensions.cs

* added test cases

* added shell test cases

* Update NavigationPageToolbar.cs
github-actions bot pushed a commit that referenced this pull request Apr 14, 2025
…igation (#28240)

* Fixed drawer toggle button visiblity

* Update ToolbarExtensions.cs

* added test cases

* added shell test cases

* Update NavigationPageToolbar.cs
github-actions bot pushed a commit that referenced this pull request Apr 15, 2025
…igation (#28240)

* Fixed drawer toggle button visiblity

* Update ToolbarExtensions.cs

* added test cases

* added shell test cases

* Update NavigationPageToolbar.cs
@github-actions github-actions bot locked and limited conversation to collaborators Apr 28, 2025
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 community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[9.0 SR4 Windows] Flyout Menu Icon disappears from Window Title Bar after Navigation
4 participants