<html>
    <head>
      <base href="https://bugzilla.gnome.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 - GTK applications crash when using touchscreen"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=776220">776220</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GTK applications crash when using touchscreen
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Platform
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>gtk+
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.22.x
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

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

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: Wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>williamdiluigi@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>rob@robster.org.uk, wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>GNOME version</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>To reproduce:

1) start up gnome shell with wayland backend
2) open a gtk application (evince, nautilus...)
3) touch the date in the upper bar, the calendar will show up
4) click on the gtk application you opened before (outside the calendar)
5) the application will crash

This is the stack trace when I do this with nautilus:

Stack trace of thread 587:
#0  0x00007f5eb69cce50 _create_touch_event (libgdk-3.so.0)
#1  0x00007f5eb69cd6d3 touch_handle_up (libgdk-3.so.0)
#2  0x00007f5eaf1471c8 ffi_call_unix64 (libffi.so.6)
#3  0x00007f5eaf146c2a ffi_call (libffi.so.6)
#4  0x00007f5eb10dd08e wl_closure_invoke (libwayland-client.so.0)
#5  0x00007f5eb10d9d20 dispatch_event (libwayland-client.so.0)
#6  0x00007f5eb10daf74 dispatch_queue (libwayland-client.so.0)
#7  0x00007f5eb69d7734 _gdk_wayland_display_queue_events (libgdk-3.so.0)
#8  0x00007f5eb6977169 gdk_display_get_event (libgdk-3.so.0)
#9  0x00007f5eb69d7422 gdk_event_source_dispatch (libgdk-3.so.0)
#10 0x00007f5eb52b2587 g_main_context_dispatch (libglib-2.0.so.0)
#11 0x00007f5eb52b27f0 n/a (libglib-2.0.so.0)
#12 0x00007f5eb52b289c g_main_context_iteration (libglib-2.0.so.0)
#13 0x00007f5eb586c54d g_application_run (libgio-2.0.so.0)
#14 0x00000000004293ba n/a (nautilus)
#15 0x00007f5eb49c9291 __libc_start_main (libc.so.6)
#16 0x000000000042941a n/a (nautilus)

This is when I do this with evince:

Stack trace of thread 1329:
#0  0x00007f2b232cc3dd touch_handle_motion (libgdk-3.so.0)
#1  0x00007f2b1bd551c8 ffi_call_unix64 (libffi.so.6)
#2  0x00007f2b1bd54c2a ffi_call (libffi.so.6)
#3  0x00007f2b1de6908e wl_closure_invoke (libwayland-client.so.0)
#4  0x00007f2b1de65d20 dispatch_event (libwayland-client.so.0)
#5  0x00007f2b1de66f74 dispatch_queue (libwayland-client.so.0)
#6  0x00007f2b232d2734 _gdk_wayland_display_queue_events (libgdk-3.so.0)
#7  0x00007f2b23272169 gdk_display_get_event (libgdk-3.so.0)
#8  0x00007f2b232d2422 gdk_event_source_dispatch (libgdk-3.so.0)
#9  0x00007f2b21dc2587 g_main_context_dispatch (libglib-2.0.so.0)
#10 0x00007f2b21dc27f0 n/a (libglib-2.0.so.0)
#11 0x00007f2b21dc289c g_main_context_iteration (libglib-2.0.so.0)
#12 0x00007f2b2237c54d g_application_run (libgio-2.0.so.0)
#13 0x000000000041ce1e n/a (evince)
#14 0x00007f2b214d9291 __libc_start_main (libc.so.6)
#15 0x000000000041cf4a n/a (evince)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>