<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - Fake finger switching bug in edge scrolling and tapping code"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89949">89949</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Fake finger switching bug in edge scrolling and tapping code
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>ASSIGNED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>peter.hutterer@who-t.net
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jwrdegoede@fedoraproject.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=114942" name="attach_114942" title="evemu recording">attachment 114942</a> <a href="attachment.cgi?id=114942&action=edit" title="evemu recording">[details]</a></span>
evemu recording

To switch from one to two fingers on a touchpad without slots, the event
sequence is:
BTN_TOOL_FINGER 0
BTN_TOOL_DOUBLETAP 1
SYN_REPORT

On those touchpads, all touches are fake touches (sort-of). The above sequence
will end the currently active touch and then re-start two new touches when the
DOUBLETAP is seen. This triggers a bug message in the edge scrolling code -
since there is no SYN_REPORT between the BTN_TOOL the touch is still in AREA
state when it is re-triggered as a TOUCH_BEGIN.

This also affects the tapping code.

The sequence attached is enough to trigger it, full sequence in the bug here:
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1209151">https://bugzilla.redhat.com/show_bug.cgi?id=1209151</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>