[Wayland-bugs] [Bug 728426] Implement the wl_touch interface

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Fri Apr 18 06:21:28 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=728426
  gtk+ | Backend: Wayland | unspecified

--- Comment #6 from Carlos Garnacho <carlosg at gnome.org> 2014-04-18 13:21:21 UTC ---
(In reply to comment #5)
> I agree that it would be nice to get out of the emulating business in gdk, and
> instead handle touch events in event controllers everywhere. The sticky point
> is compatibility with existing 3rd party widgets, of course. gtk4 ?

Indeed, I checked before attaching that this works with the gestures branch,
and as for event controllers go, that's handled just fine. The big drawback is
backwards compat as you say, after all I think it is positive to have a "single
touch" simplification, be it either through emulated pointer events, or
full/mixed usage of event controllers towards gtk4 (which are already
touch/pointer agnostic).

I think the sore point is that GDK doesn't lock on emulated events, ignoring
real pointer events if those get to happen, so "emulating pointer" doesn't
imply "I control the pointer cursor". 

FWIW this also happens on x11 to some extent (if you eg. touch on the
touchcreen, and move the pointer with some other device while the touch is
down) but gets "corrected" as soon as the touchscreen receives an event, just
that on wayland it's glaring...

-- 
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