maui icon indicating copy to clipboard operation
maui copied to clipboard

FontImage not working as an IconImageSource for ToolbarItem on Windows. Regular image format works.

Open egvijayanand opened this issue 7 months ago • 1 comments

Description

FontImage not working as an IconImageSource for ToolbarItem on Windows platform. Regular image format works.

Steps to Reproduce

  1. Clone the sample project
  2. Build the project for the Windows platform
  3. 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

egvijayanand avatar Jan 04 '24 17:01 egvijayanand

The same font icon works fine when used somewhere else.

dotnetmaui-toolbar-font-icon

egvijayanand avatar Jan 04 '24 18:01 egvijayanand

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

XamlTest avatar Feb 01 '24 02:02 XamlTest