WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
112967
Touch dragging should not send fake mouse down event as webapps may misinterpret it
https://bugs.webkit.org/show_bug.cgi?id=112967
Summary
Touch dragging should not send fake mouse down event as webapps may misinterp...
Varun Jain
Reported
2013-03-21 14:42:06 PDT
Touch dragging should not send fake mouse down event as webapps may misinterpret it
Attachments
Patch
(3.12 KB, patch)
2013-03-21 14:44 PDT
,
Varun Jain
no flags
Details
Formatted Diff
Diff
Patch
(5.73 KB, patch)
2013-03-27 12:13 PDT
,
Varun Jain
tonikitoo
: review+
tonikitoo
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Varun Jain
Comment 1
2013-03-21 14:44:44 PDT
Created
attachment 194345
[details]
Patch
Antonio Gomes
Comment 2
2013-03-25 18:07:40 PDT
Comment on
attachment 194345
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=194345&action=review
> Source/WebCore/ChangeLog:8 > + > + Reviewed by NOBODY (OOPS!). > + > + Tests: Existing tests in fast/events/touch/gesture/logn-press* cover this functionality.
I would like here a description of your solution. is there any real world webpage affected? why can not it be reduced to a layout test so it does not regress?
Varun Jain
Comment 3
2013-03-27 12:13:27 PDT
Created
attachment 195376
[details]
Patch
Varun Jain
Comment 4
2013-03-27 12:15:20 PDT
(In reply to
comment #2
)
> (From update of
attachment 194345
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=194345&action=review
> > > Source/WebCore/ChangeLog:8 > > + > > + Reviewed by NOBODY (OOPS!). > > + > > + Tests: Existing tests in fast/events/touch/gesture/logn-press* cover this functionality. > > I would like here a description of your solution. is there any real world webpage affected? why can not it be reduced to a layout test so it does not regress?
Done. There is no real world webpage that I know of. But you can image that a page listening to mouse down events may mess up its state on receiving the fake mouse down. This fake mouse done is wrong because we already send a mouse down when we receive a touch down.
Antonio Gomes
Comment 5
2013-04-02 11:17:02 PDT
Comment on
attachment 195376
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=195376&action=review
> Source/WebCore/page/EventHandler.cpp:2612 > + if (subframe && subframe->eventHandler()->handleGestureLongPress(gestureEvent)) > + return true; > + m_mouseDownMayStartDrag = true; > + dragState().m_dragSrc = 0; > + TemporaryChange<IntPoint> mouseDown(m_mouseDownPos, m_frame->view()->windowToContents(mouseDragEvent.position()));
Please add a test for this change as well.
Varun Jain
Comment 6
2013-04-08 20:58:19 PDT
moving to
https://code.google.com/p/chromium/issues/detail?id=168165
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug