dotnet / wpf

WPF is a .NET Core UI framework for building Windows desktop applications.
MIT License
7.04k stars 1.17k forks source link

Check mark of checked MenuItem on ToolBar is not visible #3287

Open manju-summoner opened 4 years ago

manju-summoner commented 4 years ago

Aero2 Theme (Windows10 Default Theme / PresentationFramework.Aero2) image

Aero Theme (PresentationFramework.Aero) image

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:

<ToolBarTray>
    <ToolBar>
        <Menu>
            <MenuItem Header="Menu">
                <MenuItem Header="CheckedMenuItem" IsCheckable="True" IsChecked="True"/>
            </MenuItem>
        </Menu>
    </ToolBar>
</ToolBarTray>
mdziadowiec commented 9 months ago

Is this ever gonna be fixed?

miloush commented 9 months ago

PRs are welcome

pchaurasia14 commented 9 months ago

@mdziadowiec - This is currently at a lower priority. It is likely to be picked up after Win11 theming integration.