Closed Bug 8598 Opened 26 years ago Closed 26 years ago

Event not completely constructed for mouseOver

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: mikepinkerton, Assigned: mikepinkerton)

Details

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.
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.
Target Milestone: M8
marking for M8.
accepting.
This issue is still occuring in the June 30th Builds.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
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.
You are the man, pink, since both these were in my code. Thanks!
Status: RESOLVED → VERIFIED
Marking Verified fixed.
You need to log in before you can comment on or make changes to this bug.