Open manju-summoner opened 4 years ago
Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.
Problem description: Checkbox bakcground color of Checked MenuItem placed on ToolBar is black.
Aero2 Theme (Windows10 Default Theme / PresentationFramework.Aero2)
Aero Theme (PresentationFramework.Aero)
Actual behavior: Checkbox is filled with black and the check mark is not visible
Expected behavior: Specify an appropriate color to ToolBarMenuCheckFill.
ToolBarMenuCheckFill
https://github.com/dotnet/wpf/blob/8920b2d117e115edbb793fbe8bde28c8a36e3b2d/src/Microsoft.DotNet.Wpf/src/Themes/XAML/ToolBar.xaml#L280
Minimal repro:
<ToolBarTray> <ToolBar> <Menu> <MenuItem Header="Menu"> <MenuItem Header="CheckedMenuItem" IsCheckable="True" IsChecked="True"/> </MenuItem> </Menu> </ToolBar> </ToolBarTray>
Is this ever gonna be fixed?
PRs are welcome
@mdziadowiec - This is currently at a lower priority. It is likely to be picked up after Win11 theming integration.
Security issues and bugs should be reported privately, learn more via our responsible disclosure guidelines.
Problem description: Checkbox bakcground color of Checked MenuItem placed on ToolBar is black.
Aero2 Theme (Windows10 Default Theme / PresentationFramework.Aero2)
Aero Theme (PresentationFramework.Aero)
Actual behavior: Checkbox is filled with black and the check mark is not visible
Expected behavior: Specify an appropriate color to
ToolBarMenuCheckFill
.https://github.com/dotnet/wpf/blob/8920b2d117e115edbb793fbe8bde28c8a36e3b2d/src/Microsoft.DotNet.Wpf/src/Themes/XAML/ToolBar.xaml#L280
Minimal repro: