Closed
Bug 849961
Opened 11 years ago
Closed 11 years ago
Make nsWindow::DispatchMultitouchEvent honor event.mFlags.mMultipleActionsPrevented
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 22
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(1 file)
1.78 KB,
patch
|
smaug
:
review+
wesj
:
review+
|
Details | Diff | Splinter Review |
nsWindow::DispatchMultitouchEvent needs to honor event.mFlags.mMultipleActionsPrevented or else we can't prevent scrolling _and_ still have elements take focus when an element is dragged. E.g. see bug 849552.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #723622 -
Flags: review?(bugs)
Comment 2•11 years ago
|
||
Comment on attachment 723622 [details] [diff] [review] patch Review of attachment 723622 [details] [diff] [review]: ----------------------------------------------------------------- I think from the android-widget side, this is fine. ::: widget/android/nsWindow.cpp @@ +1290,5 @@ > } > > nsEventStatus status; > DispatchEvent(&event, status); > + return (status == nsEventStatus_eConsumeNoDefault || Lets add a comment explaining that we're using mMultipleActionsPrevented to handle cases where we want to prevent panning, but not prevent focus events.
Attachment #723622 -
Flags: review+
Updated•11 years ago
|
Attachment #723622 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6e993ef95ad7 (In reply to Wesley Johnston (:wesj) from comment #2) > Lets add a comment explaining that we're using mMultipleActionsPrevented to > handle cases where we want to prevent panning, but not prevent focus events. Comment added.
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6e993ef95ad7
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•