Bug 44453 - [UWP] ToolbarItem Text hard to see when BarTextColor is light
Summary: [UWP] ToolbarItem Text hard to see when BarTextColor is light
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-09-17 00:55 UTC by Matthew Leibowitz
Modified: 2018-04-30 17:51 UTC (History)
31 users (show)

Tags: ac
Is this bug a regression?: ---
Last known good build:

The test project (75.00 KB, application/x-zip-compressed)
2016-09-17 00:55 UTC, Matthew Leibowitz
Forms Colors (7.88 KB, image/png)
2016-09-17 00:56 UTC, Matthew Leibowitz
Windows Colors (9.30 KB, image/png)
2016-09-17 00:57 UTC, Matthew Leibowitz

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Matthew Leibowitz 2016-09-17 00:55:28 UTC
Created attachment 17563 [details]
The test project

In the UWP app.

If I set the BarTextColor to a light color, and then add toolbar items, the items in the secondary menu take on the color of the BarTextColor. As the color of the background of the toolbar secondary menu cannot be controlled, this should not happen.

Typically, I would set the BarBackgroundColor to a nice dark (Xamarin Blue) color, and the BarTextColor to a light (White) color. This causes issues as the secondary menu retains the light grey, but the text gets the new white.

I am thinking this line (did five seconds of research):

I don't think it would be good to set the background color, as this does not change the color of the menu. TO do that, I think you might need to create a new style for the presenter: CommandBarOverflowPresenterStyle

I will attach screenshots of what I mean.
Comment 1 Matthew Leibowitz 2016-09-17 00:56:09 UTC
Created attachment 17564 [details]
Forms Colors

The bar background is blue with a text color of white.
Comment 2 Matthew Leibowitz 2016-09-17 00:57:15 UTC
Created attachment 17565 [details]
Windows Colors

The bar background is red, text white. 
Then the AppBarButton is green with white text.
Comment 3 Matthew Leibowitz 2016-09-17 01:00:01 UTC
I also noticed that the hover/hot color of the secondary items is Black. So, no matter the color I set the items, they hover at black. If the menu background is changed, then features need to be added to change the text, hot text and the selection colors.
Comment 4 Rui Marinho 2016-12-19 12:49:43 UTC
Should be fixed in 2.3.4-pre2
Comment 5 Parmendra Kumar 2017-02-03 18:22:18 UTC
I have checked this issue and observed that this issue has been fixed with Xamarin.Forms

Hence closing this issue.