Random Gui errors using C# Mono on OSX

Posted by Erik Karlsson on Stack Overflow See other posts from Stack Overflow or by Erik Karlsson
Published on 2010-04-20T12:32:18Z Indexed on 2010/04/20 13:13 UTC
Read the original article Hit count: 570

Filed under:
|
|
|
|

Hello.

Im developing a app in c# (winforms), which uses mono to run on osx. It contains some dynamic controls, for example a custom groupbox which contains some labels and textboxes, a button etc. these boxes can both be added and removed dynamically.

Problem arises both when they are created, and removed, or even when a messagebox is shown. What happens is that sometimes on rendering white boxes appears, or some labels are not drawn correctly. And sometimes when a messagebox appears, it first opens up like 5 dummies which are just blank, and which you cant close.

Am i doing something wrong, should i sleep the gui thread a bit after each creation, or should i invalidate stuff on my own? Or should i try GTK#?

Many thanks on input on this, Erik

© Stack Overflow or respective owner

Related posts about mono

Related posts about winforms