Closed Bug 712609 Opened 13 years ago Closed 3 years ago

flash mouse coordinates

Categories

(Core Graveyard :: Plug-ins, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: atariw, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

Steps to reproduce:

go to www.string-db.org
click on example 1, and then click GO
click on a node
You will see a floating window appearing.


Actual results:

The coordinates of the mouse cannot be detected correctly by our javascript code when the user points the mouse over a Flash application.
Hence the floating window doesn't appear in the right position and if you try to drag the window with the mouse you will see a strange effect.
This problem was NOT present in Firefox 7. We are having this problem only after the upgrade of Firefox to version 8.  In Chrome, Explorer and Safari everything works fine.
Can you describe the strange effect ?
I tested it on windows but i can't find something wrong.
is this OS X only ?
For the moment we have tested it only with Firefox 8.0.1 on OSX.

I try to better explain the effect:
1) when you click on a node, a floating window should appear in a position very close to the mouse pointer.  In Firefox 8.0.1 it appears in a different position.
2) These floating windows can be dragged with the mouse (clicking on the title bar).  If you try to do it with Firefox 8.0.1 it works ONLY if you move it very slowly. This is because as soon as the mouse goes over the Flash area its coordinates cannot be retrieved correctly anymore.
Dear all,

I tried again in Firefox version 10 (on OSX 10.6), and the bug is still there.

When you point your mouse over a flash application the e.pageX and e.pageY attributes do NOT get updated anymore.

To be more clear I paste here an example html.  


<html>
<head>
<script src='http://code.jquery.com/jquery-1.7.1.js'></script>


</head>
<body id="mybody">


<script type="text/javascript">

$("#mybody").mousemove(function(e) {
  $('#status2').html(e.pageX +', '+ e.pageY);
});

</script>

<div >
Click<br><br><br><br><br><br><br><br> me
<object width="300" height="160">
                  <param name="movie" value="http://www.smartwebby.com/Flash/swf/flash_animations.swf" />
                  <param name="quality" value="high" />
                  <embed src="http://www.smartwebby.com/Flash/swf/flash_animations.swf" quality="high"  type="application/x-shockwave-flash" width="300" height="160"></embed> 
                </object> 
<br><br><br><br><br><br><br> anywhere!
</div>

<h2 id="status2">
0, 0
</h2>
</body>
</html>


Best Regards,
Andrea Franceschini
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.