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

[Android] Intermittent "Font not found" crash when temporary location is cleared during runtime #16923

Open
greg84 opened this issue Aug 22, 2023 · 3 comments · May be fixed by #16924
Open

[Android] Intermittent "Font not found" crash when temporary location is cleared during runtime #16923

greg84 opened this issue Aug 22, 2023 · 3 comments · May be fixed by #16924
Labels
area-fonts Custom fonts and Font related API's platform/android 🤖 t/bug Something isn't working
Milestone

Comments

@greg84
Copy link

greg84 commented Aug 22, 2023

Description

Issue in Xamarin also applies in MAUI: xamarin/Xamarin.Forms#15012

FontRegistrar assumes that if a font exists in the dictionary then the file exists on disk. It can't make this assumption because the file may be cleared by the OS to save space, or by the user (app clear cache).

It's hard to reproduce this issue, but frequently reported by production apps from several users. See comments on Xamarin issue.

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

7.0.92

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

All

Did you find any workaround?

No response

Relevant log output

No response

@greg84 greg84 added the t/bug Something isn't working label Aug 22, 2023
greg84 added a commit to greg84/maui that referenced this issue Aug 22, 2023
@rachelkang rachelkang added this to the Backlog milestone Aug 23, 2023
@ghost
Copy link

ghost commented Aug 23, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@Eilon Eilon added the area-fonts Custom fonts and Font related API's label Aug 24, 2023
@samhouts samhouts modified the milestones: Backlog, Under Consideration Aug 28, 2023
@MitchBomcanhao
Copy link

MitchBomcanhao commented Sep 5, 2023

if this gets sorted in maui, it should really get backported to xamarin forms...

@velocitysystems
Copy link
Contributor

velocitysystems commented Aug 2, 2024

@MitchBomcanhao There are workarounds for this issue in XF. See related issue here.
An equivalent fix can most likely be ported from Xamarin.Forms to MAUI.

@PureWeen PureWeen modified the milestones: Under Consideration, Backlog Aug 2, 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/android 🤖 t/bug Something isn't working
Projects
None yet
7 participants