views:

1101

answers:

5
A: 

stick an @ in front of the "Hello, Mono+WinForms!" and see if it still happens.

Tom Anderson
Unfortunately it still happens after prefixing the string literal.
Richard J. Terrell
bummer, not sure then, this sounds weird.
Tom Anderson
maybe words with WinForms don't run on mono :P
Tom Anderson
+1  A: 

Works OK on opensuse 11.0, mono 2.0.1.

Please, edit your question and put the mono version you are using.

Sunny
A: 

Standard debugging advice: Start making small, controlled changes, and see what happens. This will help narrow down what the problem is.

Try removing the symbols: , + !
Try removing the space.
Try a variety of shorter strings, and possibly some longer strings.

Once you have a better idea of what the MessageBox will and will not print, you can start to debug that specific problem, instead of trying to debug, "It doesn't work!"

abelenky
I have already done a lot of small changes and updated Mono from 1.9.1 to 2.0.1 and then compiled 2.2 from source. It cuts everything from the first space in the string.
Richard J. Terrell
Furthermore this is clearly a bug in the implementation, so don't act like the hello world code copied from a book is wrong.
Richard J. Terrell
@gdivos: I think you have answered your question: It is a bug in the implementation. I have not "acted like the hello world code copied from a book is wrong". Getting snippy will get you no help. Goodbye.
abelenky
@abelenky, judging from the timestamps it looks like he got snippy after he already figured out the problem :)
Yar
+1  A: 

Finally I have found a workaround. This seems to be a bug in Mono related to font rendering. It happens when "Full" hinting is turned on. I usually have it that way. Changing it to "Slight" or "Medium" in System->Preferences->Appearance->Fonts->Details fixes the problem. Thanks for the help!

Richard J. Terrell
A: 

When you updated your packages and source code, did you update/compile libgdiplus? We have seen some funky graphical problems if the System.Drawing and libgdiplus versions get out of sync.

jpobst
Yes, first I compiled and "make install"-ed libgdiplus and then mono.
Richard J. Terrell
Jonathan, if it's not too much trouble could you please look at my GTK# question? Miguel was there but I don't know if he'll be back :) http://stackoverflow.com/questions/1219918/ Thanks in advance...
Yar
Unfortunately, I do not know anything about Gtk# or OSX. I try to answer the questions I can, but that one is outside my frame of reference. Sorry man. Best of luck!
jpobst