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

FontImageSource is not displayed on Android, works in Windows. #6693

Closed
IndianaGary opened this issue Apr 30, 2022 · 3 comments
Closed

FontImageSource is not displayed on Android, works in Windows. #6693

IndianaGary opened this issue Apr 30, 2022 · 3 comments
Labels
platform/android 🤖 s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working

Comments

@IndianaGary
Copy link

IndianaGary commented Apr 30, 2022

Description

I built a default RC2 project that displays the MauiBot and shows a Button that bumps a counter.

I modified the Button to be an ImageButton and set Source to a FontImageSource defined in the page's resource dictionary. For contrast, I put the ImageButton in a yellow Frame and gave the Font Image a hot pink background color.

On Windows, I saw a yellow frame around a hot pink trashcan. Clicking it bumps the count.

On Android, I saw the yellow frame but no trashcan. Clicking where it should be, bumps the count.

I have attached the test project.
MauiAppRC2.zip

Steps to Reproduce

  1. Create a default RC2 project, modify it as described (project attached)
  2. Build for Windows and test
  3. Build for Android and test

Note the described behavior.

Version with bug

Release Candidate 2 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android, I was not able test on other platforms

Affected platform versions

Android 12 - API 31

Did you find any workaround?

No workaround appeared possible.

Relevant log output

N/A
@IndianaGary IndianaGary added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Apr 30, 2022
@JimLaird
Copy link

JimLaird commented May 2, 2022

issue verified. fontimagesource not rendering

@Redth
Copy link
Member

Redth commented May 2, 2022

This is fixed in the next release...
image

@Redth Redth closed this as completed May 2, 2022
@jhunterdfly
Copy link

jhunterdfly commented May 27, 2022

I'm seeing the same error on latest version of VS Mac. (17.3 Preview build 198)

The FontImageSource works as expected on iOS Simulator but doesn't render on Android.

Note: using same font and glyph on a label works correctly on both iOS and Android

@ghost ghost locked as resolved and limited conversation to collaborators Jun 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/android 🤖 s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants