Skip to content
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

[BUG] ContentPage ToolbarItem Icon not displaying #3024

Open
pierreszelag opened this issue Dec 6, 2023 · 6 comments
Open

[BUG] ContentPage ToolbarItem Icon not displaying #3024

pierreszelag opened this issue Dec 6, 2023 · 6 comments
Assignees
Milestone

Comments

@pierreszelag
Copy link

pierreszelag commented Dec 6, 2023

Description

Inside a ContentPage, when a ToolbarItem with an IconImageSource is added, the icon is not visible.

image
Icons are supposed to be the same as the image in th middle of the page.

In the same demo project, a test was made without Prism and the ToolbarItem Icon was visible.

.NET version : 8
VS : 2022 Preview 17.9.0

Steps to Reproduce

  1. Open Demo Probject
  2. Run Windows App
  3. Bug is visible on MainPage

Demo Project : MauiApp1.zip

Platform with bug

.NET MAUI

Affected platforms

Windows

Did you find any workaround?

No

Relevant log output

No response

@dansiegel dansiegel added MAUI and removed to verify labels Dec 7, 2023
@dansiegel dansiegel self-assigned this Dec 7, 2023
@dansiegel dansiegel added this to the vNext milestone Jan 6, 2024
@dansiegel
Copy link
Member

Thanks for reporting this issue. We are currently looking into this but it's hard to say when we'll be able to resolve or if we can resolve it directly. There seems to be something breaking specifically in .NET MAUI for the ToolbarItem Icons as the MenuBar and TabbedPage Icons all work just fine as well as general Image Sources across the application.

We are working with the MAUI team to try to identify how/where this could be breaking.

@anpin
Copy link

anpin commented Jan 20, 2024

I have noticed the same issue, toolbar icons are working on Android and iOS, but not on Windows

@dansiegel
Copy link
Member

@anpin thank you for confirming that this is working for you on Android and iOS.

@anpin
Copy link

anpin commented May 1, 2024

this was fixed for me in the latest MAUI versions. @pierreszelag can you confirm?

@pierreszelag
Copy link
Author

@anpin it is still not working for me with MAUI 8.0.21. Do you have a sample project to share ?

@carlosxjose
Copy link

carlosxjose commented May 24, 2024

In MAUI 8.0.40 still the issue... I know the Maui team is overload with PR, 200 right now... I found a few PR for iOS that could be part of this issue and others related to PRISM. Can any body help to get this PR on production, we are stuck with iOS issues

[iOS] Shell toolbar items #20510
dotnet/maui#20510

[iOS] Shell/NavigationPage TitleView #20959
dotnet/maui#20959

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants