Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Calling Silverlight's MessageBox.Show() makes Firefox unresponsive

  • 9 replies
  • 197 have this problem
  • 10 views
  • Last reply by TomServo3k

more options

With Firefox 3.6.4 or 3.6.6, calling Silverlight's MessageBox.Show() just completely freezes Firefox. In my case, Firefox becomes totally unresponsive "as soon as" I call MessageBox.Show(). I had to kill it using Window's Task Manager. Of course my application has been working fine till 3.6.4. It's still working fine with IE7/8 and Safari 4/5. It seems to me that this problems started to occur as Firefox started to spawn and use a different process to handle browser plug-ins such as Flash and Silverlight.

Here's how you can reproduce. 1. Open Firefox 3.6.4, 3.6.6, or 3.6.7. 2. Go to http://ad.gogopin.com/. 3. Click [Get Started] button. 4. Silverlight plug-in loads and you will see a canvas with bunch of elements on it. 5. Click [Export] button on the right. 6. A message box shows up and Firefox immediately hangs.

do the same steps above with IE7/8, Safari 4/5, or even previous version of Firefox 3. You will see it's working just fine.

Signature: hang | mozilla::plugins::PPluginScriptableObjectParent::CallHasProperty(mozilla::plugins::PPluginIdentifierParent*, bool*) UUID: cbcfea41-98d6-4f38-9742-4cc612100721

Crash ID(s)

hang | mozilla::plugins::PPluginScriptableObjectParent::CallHasProperty(mozilla::plugins::PPluginIdentifierParent*, bool*)

With Firefox 3.6.4 or 3.6.6, calling Silverlight's MessageBox.Show() just completely freezes Firefox. In my case, Firefox becomes totally unresponsive "as soon as" I call MessageBox.Show(). I had to kill it using Window's Task Manager. Of course my application has been working fine till 3.6.4. It's still working fine with IE7/8 and Safari 4/5. It seems to me that this problems started to occur as Firefox started to spawn and use a different process to handle browser plug-ins such as Flash and Silverlight. Here's how you can reproduce. 1. Open Firefox 3.6.4, 3.6.6, or 3.6.7. 2. Go to http://ad.gogopin.com/. 3. Click [Get Started] button. 4. Silverlight plug-in loads and you will see a canvas with bunch of elements on it. 5. Click [Export] button on the right. 6. A message box shows up and Firefox immediately hangs. do the same steps above with IE7/8, Safari 4/5, or even previous version of Firefox 3. You will see it's working just fine. Signature: hang | mozilla::plugins::PPluginScriptableObjectParent::CallHasProperty(mozilla::plugins::PPluginIdentifierParent*, bool*) UUID: cbcfea41-98d6-4f38-9742-4cc612100721 == Crash ID(s) == hang | mozilla::plugins::PPluginScriptableObjectParent::CallHasProperty(mozilla::plugins::PPluginIdentifierParent*, bool*)

All Replies (9)

more options

It seems that this problem occurs when Silverlight is running in windowless mode.

more options

Try this. This will reproduce the problem.

http://bit.ly/9tyV2K

Created with Visual Studio 2010 with Silverlight 4.

more options

I'm having the same problem with firefox becoming completely unresponsive when a messagebox is shown from silverlight. Please fix this.

more options

I have the same problem. FileBrowser feature in Silverlight cause the same issue as well as any other browser's windows.

While MessageBox.Show() can be replaced with custom silverlight child window control, I have no clue how to resolve the problem with file browse dialog window when user needs to upload a file via my Silverlight application. This is a really critical issue for me.

more options

So what's going on with this? This is still a problem in Firefox 3.6.12

It's been a few months...

more options

I am still seeing this problem in 3.6.15 as well. An update on the status of this problem would be appreciated.

more options

Have the same Problem, but I don't use MessageBox.Show anymore, just Eval() and a tidy JScript: function Dialog(msg) {

 return confirm(msg);

}

So in Code I call bool result = System.Windows.Browser.HtmlPage.Window.Eval("Dialog(\"" + myMessage + "\")") as bool;

funnyli this causes FF to "hang" too.

So I kept on trying and finally gut it with a simple line of param in my html-page to work. I just added <param name="windowless" value="true"/> to the Plugin-Params, and now displaying messages/confirms (from JScript for me, don't know if this works with ShowMessage & stuff) works fine.

Hope this helps at some place.

more options

Does anyone at Mozilla care that this bug has been out here for over 8 months without a resolution. I am in the final throws of a release and code added in the last sprint to add some error handling is now requiring another sprint to fix the bugs that are being generated as a result of Firefox mishandling of the MEssageBox.Show.

It is also interesting that searching for "Messagebox" from the Mozilla search function on this website return zero results. Amazing that I can read this message but I cannot find it using text in the thread.

more options

This problem also happens in Firefox 4.0.1.

My results vary. It seems the MessageBox will "sometimes" let me respond if I do so directly. If I click anywhere else in the same or any other instance of Firefox then the MessageBox hangs all instances immediately.

However, it's not Firefox that's crashing, it's the Silverlight container. If you kill the "plugin-container.exe" in task manager that's using a bunch of your cpu time then the Silverlight container will crash with it's gray screen and little sad face and Firefox will recover.