maui
maui copied to clipboard
FontImage not working as an IconImageSource for ToolbarItem on Windows. Regular image format works.
Description
FontImage not working as an IconImageSource for ToolbarItem on Windows platform. Regular image format works.
Steps to Reproduce
- Clone the sample project
- Build the project for the Windows platform
- Run the project and notice the difference in the two toolbar items
Link to public reproduction project repository
https://github.com/egvijayanand/maui-issue-19695
Version with bug
8.0.3
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 SDK 10.0.19041
Did you find any workaround?
Use regular image formats for Windows with OnPlatform customization.
Relevant log output
No response
The same font icon works fine when used somewhere else.
Verified this on Visual Studio Enterprise 17.9.0 Preview 4(8.0.3). Repro on Windows 11, not repro on Android 14.0-API34, iOS 17.2 and MacCatalyst with below Project: maui-issue-19695.zip