[Wayland-bugs] [Bug 731371] New: Gtk gets confused by wayland touch events

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 8 08:29:53 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=731371
  gtk+ | Backend: Wayland | 3.13.x

           Summary: Gtk gets confused by wayland touch events
    Classification: Platform
           Product: gtk+
           Version: 3.13.x
        OS/Version: Mac OS
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
        AssignedTo: gtk-bugs at gtk.org
        ReportedBy: sjoerd at luon.net
         QAContact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---


When using a touchscreen under weston, Gtk+ sometimes seems to get confused
about its inputs. E.g. when running gtk3-demo, scrolling in the demo list with
the touchscreen causes mouse events to be ignored afterwards.

Some digging revealed that this is due to weston numbering its touch events
sequence from 0 and gdks wayland backend simply using GUINT_TO_POINTER to set
the touch.sequence field. This causes gdk_event_get_touch_sequence to return
NULL which confuses other parts of Gdk/Gtk.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list