dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.27k stars 1.76k forks source link

[MAUI]The 'Pages' button text of G3 and G7 pages is black #25709

Open Zhanglirong-Winnie opened 2 weeks ago

Zhanglirong-Winnie commented 2 weeks ago

Description

The 'Pages' button text of G3 and G7 pages is black Affected case: G3 - Page changing using menu bar stops command in menu bar from working. G7 - Render Menuitems in the Shell as disabled if a command's CanExecute returns false.

Note: The 'Pages' button is black and turns white when pointing the mouse curser.

Steps to Reproduce

  1. Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to windows machine.
  2. Navigate to 'G_Commands' ->'G3' or 'G7' page.
  3. Observe the 'Pages' button display.

Actual Behavior: The 'Pages' button text of G3 and G7 pages is black Image

Expected Behavior: The "Page" button text is white for G3 and G7 pages Image

Link to public reproduction project repository

https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests

Version with bug

Microsoft.Maui.Controls 9.0.10-ci.net9.24555.1

Is this a regression from previous behavior?

Yes, this is a regression, The issue not repro on 9.0.0-rc.2.24503.2 & 9.0.0-rc.1.24453.9 & 8.0.92 & 8.0.3

Affected platforms

Windows