Closed
Bug 549600
Opened 16 years ago
Closed 15 years ago
Firefox 3.6 bug on Mac with Flash MouseEvent
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: romu, Unassigned)
References
()
Details
(Whiteboard: [CLOSEME 2011-1-30])
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
In a Flash Application, if you're using somewhere a MouseEvent.ROLL_OUT or MouseEvent.MOUSE_OUT, this event will be fired even if you only click on a object without leaving the object with the mouse.
In short, MOUSE_OUT and ROLL_OUT flash events are fired when it shouldn't, details there:
http://www.soundstep.com/blog/2010/03/02/firefox-3-6-mac-bug-with-mouseevent/
This appears on Firefox 3.6
Reproducible: Always
Steps to Reproduce:
1. embed a flash movie that uses MouseEvent.MOUSE_OUT
2. click on the object where the event is added
3. the MouseEvent.MOUSE_OUT will be fired on a click
Actual Results:
The Flash event MouseEvent.MOUSE_OUT will be fired on a click.
Expected Results:
The Flash event MouseEvent.MOUSE_OUT shoudn't be fired on a click.
The flash mouse events, such as Mouse_CLICK and the others, are coming from the browser.
I believe that, or Firefox is firing mouse-out events when it shouldn't (on a click event), or somehow the flash is removed then put in place again on a click, so the flash loses the focus and fires a mouse_out event.
I can confirm that we are having a similar issue, only in Firefox 3.6, for double click events. Essentially, we are listening for a double click event on a Flex list, and it is firing a MOUSE_OUT instead. It works properly in 3.5, though.
Reproduced with the following Actionscript code:
/* Constructor method of a document class */
public function MyClass() {
var b:Sprite = new Sprite();
b.graphics.beginFill(0, 1);
b.graphics.drawRect(0, 0, 100, 100);
b.graphics.endFill();
addChild(b);
b.addEventListener(MouseEvent.MOUSE_OVER, onMOver);
b.addEventListener(MouseEvent.MOUSE_OUT, onMOut);
b.addEventListener(MouseEvent.ROLL_OUT, onMRollOut);
b.addEventListener(MouseEvent.CLICK, onClick);
}
private function onMOver(e:MouseEvent):void {
trace("mOver");
}
private function onMOut(e:MouseEvent):void {
trace("onMOut");
}
private function onMRollOut(e:MouseEvent):void {
trace("onMRollOut");
}
private function onClick(e:MouseEvent):void {
trace("onClick");
}
Comment 4•15 years ago
|
||
I can confirm I'm also running into these issues. Mac OS 10.6 with Firefox 3.6. You can also click outside of the object, and rollover/rollout handlers will still fire as well.
Comment 5•15 years ago
|
||
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version, http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: [CLOSEME 2011-1-30]
This issue does not appear to be reproducible on FF 3.6.13 using the code I posted above(2010-03-15 08:27:31 PDT).
(In reply to comment #6)
> This issue does not appear to be reproducible on FF 3.6.13 using the code I
> posted above(2010-03-15 08:27:31 PDT).
To be specific:
Firefox 3.6.13
Mac OSX 10.6.5
Flash Player 10,1,102,64
The Flash Player from my original repro would have been 10.0.x. Probably a roughly equivalent OS.
Updated•15 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•