PrismLibrary / Prism

Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Xamarin Forms, and Uno / Win UI Applications..

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] ContentPage ToolbarItem Icon not displaying

pierreszelag opened this issue · comments

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

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.

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

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

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

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