[Gtk-sharp-list] Bug in MessageDialog

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Tue Apr 28 11:28:49 UTC 2015


I believe this is a bug in MessageDialog. Unless somebody would like to tell me I'm using it wrong?

	// this works fine
	string msg = "Hello there";
	var md = new MessageDialog(null, DialogFlags.Modal, MessageType.Info, ButtonsType.Ok, msg);
	md.Run();
	md.Destroy();
	
	// this shows a meaningless broken window
	string msg = "Hello & there";
	var md = new MessageDialog(null, DialogFlags.Modal, MessageType.Info, ButtonsType.Ok, msg);
	md.Run();
	md.Destroy();

If this is indeed a bug, I'm happy to submit the bug on bugzilla. I just wanted to hear what others say about it, and confirm it's a bug first.

gtk-sharp 2.12.0.0
mono 3.12.1 from the xamarin apt repo
ubuntu 14.04 desktop x86_64

Which brings me to a second question. What's the recommended way to get updates? Download and build from source? Or use a nuGet package? If so, which package? I see a million different unofficial builds of gtk-sharp in nuget.


More information about the Gtk-sharp-list mailing list