Skip to content

.NET Maui Secondary ToolbarItem Issue on Windows #18258

@Auto72

Description

@Auto72

Description

The secondary toolbar items text color on Windows are displayed with the white color on a white background.
The text color should be black on white background, or the background should be the same as the title bar.
In one way or another, the text must be readable.
In addiction it seems on the bottom there is a room for another item that it is not present, I don't know if it is an attempt to be the shadow of the menu.

Steps to Reproduce

See the linked example.

<ContentPage.ToolbarItems>
    <ToolbarItem Text="Opt#1" Order="Primary"/>
    <ToolbarItem Text="Opt#2" Order="Primary"/>
    <ToolbarItem Text="Option #3" Order="Secondary" />
    <ToolbarItem Text="Option #4" Order="Secondary" />
    <ToolbarItem Text="Option #5" Order="Secondary" />
    <ToolbarItem Text="Option #6" Order="Secondary" />
</ContentPage.ToolbarItems>

Link to public reproduction project repository

https://github.com/Auto72/TestToolbarItem

Version with bug

8.0.0-rc.2.9373

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 11

Did you find any workaround?

No.

Relevant log output

No response
1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions