Firefox window loses focus when a unity3d plugin is active




8 years ago
4 years ago


(Reporter: Jeff Griffiths, Unassigned)


4.0 Branch
Mac OS X

Firefox Tracking Flags

(Not tracked)





8 years ago
User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b7) Gecko/20100101 Firefox/4.0b7
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b7) Gecko/20100101 Firefox/4.0b7

Unity3d is a 3d browser plugin being used for many online games. Firefox 4 B7 seems to introduce an issue where, when the unity plugin is loaded, the firefox window loses focus, and any subsequent mouse click into the unity plugin immediately loses focus again.

Reproducible: Always

Steps to Reproduce:
1. browse to and install the unity3d web player
2. next, browser to the bootcamp game demo at the above url

Actual Results:  
Window immediately loses focus and game stops playing.

Expected Results:  
Game should load and capture mouse / keyboard input when plugin area is clicked.

This is un-tested on other platforms, may be max-specific. I'm running 10.6.5.

Comment 1

8 years ago
Additional note: this is being reported as a Firefox bug because it is a regression. Firefox 3.6 and Firefox 4.0 B6 both work as expected with Unity3d content.

Comment 2

8 years ago
Another note: I just noticed the plugins Product choice - Unity is not included as an option there. I'll just leave this bug under Firefox for now, and suggest to Unity that they contact Mozilla to get Unity added there.

Comment 3

7 years ago
This is affecting me too. I  noticed it on but it happens on the URL given above too. Fx4b11 (pre-release 3) running on OSX 10.6.6, with the latest Unity webplayer.


7 years ago
Version: unspecified → 4.0 Branch

Comment 4

7 years ago
I'm also experiencing this, on OSX 10.6.7, with Firefox 5.0.1. Other common browsers seem to function fine under OSX. This is making our product unusable on FF on Mac

Comment 5

4 years ago
This seems to be related to the built-in plugin timeout after which a warning message appears. For me, whenever loading exceeds a certain amount of time (always too quick, should be increased), a warning message appears and Firefox goes abruptly and completely into background and loses focus to another app. The user has to select it from the task bar again (annoying). The warning message disappears after the built-in check realized the plugin didn't crash but was just loading a little bit longer, but the window does not regain focus.
You need to log in before you can comment on or make changes to this bug.