Event not completely constructed for mouseOver

VERIFIED FIXED in M8

Status

()

P3
normal
VERIFIED FIXED
20 years ago
20 years ago

People

(Reporter: mikepinkerton, Assigned: mikepinkerton)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

20 years ago
in nsEventStateManager::GenerateMouseEnterExitEvent, the event is not completely
constructed before being passed along to the dom. Specifically:

- the widget is not set
- the coordinates are not copied

These cause anyone calling GetScreenX() on the dom event to crash. I'll also fix
the place where it crashes before i close out this bug.
(Assignee)

Comment 1

20 years ago
cc'ing rods because he will probably get bit by this type of bug with dragOver
events. I'll make sure i fix those as well when fixing everything else.
(Assignee)

Updated

20 years ago
Target Milestone: M8
(Assignee)

Comment 2

20 years ago
marking for M8.
(Assignee)

Comment 3

20 years ago
accepting.

Comment 4

20 years ago
This issue is still occuring in the June 30th Builds.
(Assignee)

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → FIXED
(Assignee)

Comment 5

20 years ago
widget, clickCount, and mouse location now being set for mouseOver/Enter/Exit and
dragOver/Enter/Exit.

Also fixed GetScreenX and GetScreenY so that if they won't crash when there is no
parent.

Comment 6

20 years ago
You are the man, pink, since both these were in my code.  Thanks!

Updated

20 years ago
Status: RESOLVED → VERIFIED

Comment 7

20 years ago
Marking Verified fixed.
You need to log in before you can comment on or make changes to this bug.