[Mono-osx] Mono 3.12.x breaks OpenTK on OSX

Johan Hammar johanhmr at gmail.com
Tue Mar 10 16:32:17 UTC 2015


This is due to bug 17225
<https://bugzilla.xamarin.com/show_bug.cgi?id=17225>. This is happening
when either of System.Drawing.Color or System.Drawing.Bitmap is used for
the first time on the system at which time the font cache will be built.
This can take up to approx 3-6 minutes. After this initial build of the
font cache this will not happen again, i.e, it will usually only happen the
first time the user launches the application but not for any subsequent
launches.

The only current work around to avoid this is to completely avoid using
System.Drawing.Color or System.Drawing.Bitmap in the application (not even
in resx files).


/Johan


On Tue, Mar 10, 2015 at 2:28 PM, Stefanos A. <stapostol at gmail.com> wrote:

> I have encountered this issue before. It appears that System.Drawing.dll
> is hanging during initialization (inside libgdiplus).
>
> I have not had access to a Mac OS X system during the past several months,
> so I have not had a chance to investigate further.
>
>
> 2015-03-08 17:44 GMT+01:00 David Jeske <davidj at gmail.com>:
>
>> When I launch OpenTK apps on OSX with Mono 3.12.x, they never create
>> their window, instead I just get a wait cursor. They work fine after
>> backreving to Mono 3.10.0.
>>
>> Any ideas why?
>>
>>
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>>
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-osx/attachments/20150310/ce45e535/attachment.html>


More information about the Mono-osx mailing list