Bug 24979 - Fonts are killed after several onresume (application was in background)
Summary: Fonts are killed after several onresume (application was in background)
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 5.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2014-12-02 05:37 UTC by Fabien Comte
Modified: 2017-08-08 17:24 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Screenshoot (45.23 KB, image/png)
2014-12-02 05:39 UTC, Fabien Comte

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Fabien Comte 2014-12-02 05:37:52 UTC
Please look at my pictures. Fonts look partially dead (dimensions looks correct...)

I'm on beta channel and screenshot was few days ago with up to date version (probably 5.5.4) but version select box don't propose this version.

Dont know if it helps but I use an OpenGlView and Forms.
Comment 1 Fabien Comte 2014-12-02 05:39:07 UTC
Created attachment 8928 [details]
Comment 2 Jonathan Pryor 2014-12-02 14:46:40 UTC
Can you please attach a test case demonstrating the problem?
Comment 3 Fabien Comte 2014-12-02 16:56:22 UTC
What kind ? An apk install file ?

About sources, that's impossible because it's a professionnal application...
Comment 5 Fabien Comte 2014-12-02 17:05:03 UTC
It just appears when i go and back on page with openglview. On another one with basic forms, no issue.
Comment 6 Fabien Comte 2014-12-03 09:58:04 UTC
I found something using GL.DeleteTexture() cause the issue.

Is there any possibility to know where / when releasing texture, shaders, ... for OpenGlView. 

It's not in documentation and it looks like some cleanups are done automatically when navigating between pages.
Comment 7 Jon Douglas [MSFT] 2017-08-08 17:24:50 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Android. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.