Closed Bug 301433 Opened 20 years ago Closed 20 years ago

relative coordinates in mousemove event when moving over a pulldown selectbox.

Categories

(Firefox :: General, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 136407

People

(Reporter: courier, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050602 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050602 Firefox/1.0.4 This JS capture the X Position of the mouse curser: function handleMove (ev) { if (!ev) ev = window.event; var mausposition = ev.pageX ? ev.pageX : ev.clientX; if (mausposition < 20) { Menue(); } else { if (mausposition > 400) { noMenue(); } } } function Event_init () { if (document.addEventListener) { document.addEventListener("mousemove", handleMove, true); } else { if (NS4) { document.captureEvents(Event.MOUSEMOVE); document.onmousemove = handleMove; } else { document.body.onmousemove = handleMove; } } if (OP) { NavLinksPos = 20; // Position des Bereiches NavLinks getElement("id", "NavLinks").style.pixelTop = NavLinksPos; } } It works great, but when i go to a pulldown menu on the page and pull it down and move the coursor over the pulldown box, the coordinate from ev.pageX are relative to the pulldown box, not relative to the left window (or page) side. this is not the way how is desc in the w3c standards. Cann somewone help me and correct the problem ? Thank's Daniel Heule Reproducible: Always Steps to Reproduce: 1. open the url above in firefox 2. open the pulldown menu 3. Actual Results: the menu apear, but it shuld only when the mouse cursor is ober the left 20 px. Expected Results: display only the pulldown box, and send pageX coordinates of the page (not the pulldown box) to the event handler ! In Conquerror, MSIE and others it work's like expected.
OS: Linux → All
Summary: relative cooridnates in mousemove event when moving over a pulldown selectbox. → relative coordinates in mousemove event when moving over a pulldown selectbox.
Related to/duplicate of Core bug 136407?
And in Bug 136407 was nothing done for over 3 years ?? In the newest Firefox release, the bug is not fixed, so i thougth i make a new bugreport pointing out that the problem was and is not solved ! For me its a realy important, so i must use other browsers until the problem is fixd ;-((( but my favorite browser is firefox.
*** This bug has been marked as a duplicate of 136407 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.