[Webkit-unassigned] [Bug 159751] New: [GTK] Implement touch event emulation in the view layer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 13 17:25:37 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159751
Bug ID: 159751
Summary: [GTK] Implement touch event emulation in the view
layer
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andrunko at gmail.com
CC: bugs-noreply at webkitgtk.org
While working on kinetic scrolling (bug #155750) I noticed that webkit doesnt have support for touch emulation on the view layer. Touch emulation is only supported in the WebCore layer (bug #77105), but the events there are not propagated to the view (only to the page), meaning testing things like kinetic scrolling (which requires touch events) wouldnt work without a real touchscreen device.
As I didnt have a touchscreen device available, I decided to add a basic support (single touch) for emulation on the view, by sending synthetic touch events when receiving mouse events. The impl uses the GTK_TEST_TOUCHSCREEN env variable to decide whether to enable emulation (as already done by other official GTK+ widgets).
While I believe this wont get integrated, I wanted to leave it here in case someone needs something similar in the future.
Patch to come.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160714/86ebd391/attachment.html>
More information about the webkit-unassigned
mailing list