[MonoDevelop] Closing dialog windows from my addin freezes MonoDevelop

Scott Ellington scottellington at comcast.net
Sun Sep 25 21:04:36 EDT 2005


My addin is a welcome page for MonoDevelop.  It uses gecko#, and when a
certain link is clicked, I intercept the OpenUri to spawn a MonoDevelop
Gui command, such as:


This opens successfully, but when I try to either close it by clicking
the "New" or "Cancel" buttons, the window does not close and MonoDevelop
freezes.  This also occurs when I use FileCommands.OpenFile.  Strangely,
HelpCommands.TipOfTheDay, closes correctly.  

I'm not familiar with writing desktop apps, but I thought it might be a
threading issue.  So I tried wrapping the event handler as suggested in
the following:
without success.  I also checked to see if gecko# was spawning a thread
for the OpenUri event and it seems that my event handler is in the Gui
thread, so I can't see what the problem might be.

Finally I tried creating and destroying my own sample Gtk window without
any problem.  Anybody have any ideas, or other things to try next?

thanks in advance,
Scott Ellington

More information about the Monodevelop-list mailing list