← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2119066] [NEW] X11 touchscreen events are handled as mouse events

 

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
Debcrafters packages, which is subscribed to gtk4 in Ubuntu.
https://bugs.launchpad.net/bugs/2119066

Title:
  X11 touchscreen events are handled as mouse events

Status in gtk4 package in Ubuntu:
  New

Bug description:
  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

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



Follow ups