-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Windows] Fix for TabbedPage more menu items color. #26876
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] Fix for TabbedPage more menu items color. #26876
Conversation
What does this look like when you change the system theme to dark mode? |
@Redth, The menu item colors will change to white, similar to the behavior in WinUI, when the system theme is switched to Dark mode. I have attached a video for your reference. NV-Dark-Mode.mp4 |
/azp run |
This comment was marked as outdated.
This comment was marked as outdated.
Azure Pipelines successfully started running 3 pipeline(s). |
The macOS UI Tests for TabbedPage keeps failing so... is something happening here? It seems weird, but want to make sure that this doesn't impact anything else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to get @Foda 's thoughts on this one before merging
![]() @jfversluis, the UpdatedSelectionIndicatorProperly TabbedPage test appears to have failed due to the absence of a Mac screenshot. This screenshot seems to have already been added in the following PR #27028 |
@Mark-NC001, I am not entirely sure about the use case you mentioned. Based on the provided issue sample, you set the BarTextColor, which is applied to all items in the NavigationView. You can verify this in the image reference in the description (after the issue fix image). From the given sample, if the BarTextColor is not set, the SelectedTabColor and UnSelectedTabColor will be used. I have already verified that this is working as expected. Could you please provide more details about the use case you tested for this? I will check it from my end. |
@Tamilarasan-Paranthaman - I have done a Clean on my project and tried again, and it works fine! Sorry I should have tried that before my last post! Thank you for the fix! :-) |
/rebase |
8bc0567
to
c86df3c
Compare
/rebase |
c86df3c
to
26498f4
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/rebase |
26498f4
to
d0829b5
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
src/Controls/tests/TestCases.Mac.Tests/snapshots/mac/VerifyTabbedPageMenuItemTextColor.png
Show resolved
Hide resolved
8a28b6a
to
ef54e7e
Compare
/rebase |
ef54e7e
to
ef8a5ea
Compare
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/rebase |
ef8a5ea
to
dde262a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Azure Pipelines successfully started running 3 pipeline(s). |
* MenuItem color fix * Added UI test * Added snapshots * Updated Mac snapshot
* MenuItem color fix * Added UI test * Added snapshots * Updated Mac snapshot
* MenuItem color fix * Added UI test * Added snapshots * Updated Mac snapshot
* MenuItem color fix * Added UI test * Added snapshots * Updated Mac snapshot
Root Cause of the issue
Description of Change
Issues Fixed
Fixes #26754
Tested the behaviour in the following platforms
Screenshot
WinUI Reference