Public bug reported:

Upstream issue: https://gitlab.gnome.org/GNOME/gtk/-/issues/7515

- Touchscreens are under "Virtual core pointer" virtual device in X11, and the 
virtual device is recognized as a `GDK_SOURCE_MOUSE`.
- in `gdk/x11/gdk/x11/gdkdevicemanager-xi2.c`, `gdk_touch_event_new` is passed 
with the virtual device.
- There are many places that checks whether the event is from touchscreen or 
mouse, by using `gdk_device_get_source` on the device included in the event 
above, which is `GDK_SOURCE_MOUSE` despite a touchscreen physical device is 
used.

A ubuntu-bug report will be submitted later

** Affects: gtk4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk4 in Ubuntu.
https://bugs.launchpad.net/bugs/2119066

Title:
  X11 touchscreen events are handled as mouse events

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/2119066/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to