<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [WK2][GTK] Propagate motion-notify-event signals from the WebView"
href="https://bugs.webkit.org/show_bug.cgi?id=152974">152974</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[WK2][GTK] Propagate motion-notify-event signals from the WebView
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Keywords</th>
<td>Gtk
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mario@webkit.org
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org, cgarcia@igalia.com, philip.chimento@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>As it was brought up in the mailing list recently[1], there are some signals for which the default handlers in the WebView prevent them from being propagated as there is no way to know, in a multi-process model, when the WebProcess have actually processed them or not (they should be propagated when not processed). See more detailed explanation in [2].
Options proposed were, mainly, to either store the event in the UI process and re-emit later once we know the Web process has not been handled (as done for key events) or simply to return FALSE to always propagate them, which sounds like a good option for events like motion-event-notify, which do not act over any specific target (see [3] for a better explanation of the rationale behind).
I discussed this with Carlos on IRC and he agrees on doing that change for motion events, so tracking that change here.
[1] <a href="https://lists.webkit.org/pipermail/webkit-gtk/2016-January/002498.html">https://lists.webkit.org/pipermail/webkit-gtk/2016-January/002498.html</a>
[2] <a href="https://lists.webkit.org/pipermail/webkit-gtk/2016-January/002500.html">https://lists.webkit.org/pipermail/webkit-gtk/2016-January/002500.html</a>
[3] <a href="https://lists.webkit.org/pipermail/webkit-gtk/2016-January/002505.html">https://lists.webkit.org/pipermail/webkit-gtk/2016-January/002505.html</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>