###!!! ASSERTION: Incorrect event type for coordinate translation:

RESOLVED FIXED

Status

()

RESOLVED FIXED
10 years ago
10 years ago

People

(Reporter: neil, Assigned: neil)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

10 years ago
###!!! ASSERTION: Incorrect event type for coordinate translation: 'anEvent.message == NS_MOUSE_BUTTON_DOWN || anEvent.message == NS_MOUSE_BUTTON_UP || anEvent.message == NS_MOUSE_DOUBLECLICK || anEvent.message == NS_MOUSE_MOVE', file nsObjectFrame.cpp, line 3741

anEvent.message can be NS_MOUSE_ENTER_SYNTH here.
I think we just need to fix the assertion to include NS_MOUSE_EXIT_SYNTH and NS_MOUSE_ENTER_SYNTH; since nsEventStateManager::DispatchMouseEvent is used to dispatch those events and it uses the same native message as the original mouse event, they should be fine. If you have a Windows build and a testcase, would you mind rolling that patch?
(Assignee)

Comment 2

10 years ago
Created attachment 352083 [details] [diff] [review]
Patch as requested
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #352083 - Flags: superreview?(roc)
Attachment #352083 - Flags: review?(roc)
Attachment #352083 - Flags: superreview?(roc)
Attachment #352083 - Flags: superreview+
Attachment #352083 - Flags: review?(roc)
Attachment #352083 - Flags: review+
(Assignee)

Comment 4

10 years ago
Pushed changeset b88bc6127dca to mozilla-central.
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.