[Webkit-unassigned] [Bug 210716] pointermove event sometimes has incorrect pointerType of 'mouse' on touch interactions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 6 06:48:59 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=210716

--- Comment #9 from Antoine Quint <graouts at webkit.org> ---
This happens under this code path:

#0      0x00000004760272a8 in WebCore::dispatchPointerEventIfNeeded(WebCore::Element&, WebCore::MouseEvent const&, WebCore::PlatformMouseEvent const&, bool&) at /OpenSource/Source/WebCore/dom/Element.cpp:333
#1      0x0000000476026bf8 in WebCore::Element::dispatchMouseEvent(WebCore::PlatformMouseEvent const&, WTF::AtomString const&, int, WebCore::Element*) at /OpenSource/Source/WebCore/dom/Element.cpp:364
#2      0x0000000476bf48ff in WebCore::EventHandler::dispatchMouseEvent(WTF::AtomString const&, WebCore::Node*, int, WebCore::PlatformMouseEvent const&, WebCore::EventHandler::FireMouseOverOut) at /OpenSource/Source/WebCore/page/EventHandler.cpp:2661
#3      0x0000000476bf5dc6 in WebCore::EventHandler::handleMouseMoveEvent(WebCore::PlatformMouseEvent const&, WebCore::HitTestResult*, bool) at /OpenSource/Source/WebCore/page/EventHandler.cpp:2059
#4      0x0000000476bf553c in WebCore::EventHandler::mouseMoved(WebCore::PlatformMouseEvent const&) at /OpenSource/Source/WebCore/page/EventHandler.cpp:1919
#5      0x0000000474bf08fd in WebCore::EventHandler::dispatchSyntheticMouseMove(WebCore::PlatformMouseEvent const&) at /OpenSource/Source/WebCore/page/ios/EventHandlerIOS.mm:533
#6      0x000000010d960d5d in WebKit::dispatchSyntheticMouseMove(WebCore::Frame&, WebCore::FloatPoint const&, WTF::OptionSet<WebKit::WebEvent::Modifier>, int) at /OpenSource/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:663
#7      0x000000010d95fe85 in WebKit::WebPage::handleSyntheticClick(WebCore::Node&, WebCore::FloatPoint const&, WTF::OptionSet<WebKit::WebEvent::Modifier>, int) at /OpenSource/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:725
#8      0x000000010d9683c8 in WebKit::WebPage::commitPotentialTap(WTF::OptionSet<WebKit::WebEvent::Modifier>, WebKit::MonotonicObjectIdentifier<WebKit::TransactionIDType>, int) at /OpenSource/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:1176

The MouseEvent has m_syntheticClickType = NoTap, perhaps we ought not create a synthetic pointer event for this type? Or maybe simply not dispatch this event on iOS?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200506/e4f29880/attachment.htm>


More information about the webkit-unassigned mailing list