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

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

Open
egvijayanand opened this issue Jan 4, 2024 · 2 comments
Labels
area-fonts Custom fonts and Font related API's platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@egvijayanand
Copy link
Contributor

egvijayanand commented Jan 4, 2024

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 egvijayanand added the t/bug Something isn't working label Jan 4, 2024
@egvijayanand
Copy link
Contributor Author

The same font icon works fine when used somewhere else.

dotnetmaui-toolbar-font-icon

@jsuarezruiz jsuarezruiz added platform/windows 🪟 area-fonts Custom fonts and Font related API's labels Jan 8, 2024
@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Feb 1, 2024
@XamlTest
Copy link
Collaborator

XamlTest commented Feb 1, 2024

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

@jsuarezruiz jsuarezruiz added this to the Backlog milestone Jun 4, 2024
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 3, 2024
@samhouts samhouts added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-fonts Custom fonts and Font related API's platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants