debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #04705
[Bug 2119066] Re: X11 touchscreen events are handled as mouse events
** Description changed:
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.
+ This issue caused bugs for LP:# 2051886 and LP: #2119065, as they
+ interpret touchscreen input as mouse events, and expect it to input like
+ a mouse.
+
A ubuntu-bug report will be submitted later
- ---
+ ---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckMismatches: ./.disk/casper-uuid-oem ./casper/initrd ./casper/minimal.standard.live.hotfix.size ./casper/minimal.standard.live.size ./casper/minimal.manifest ./casper/minimal.standard.manifest ./casper/minimal.standard.size ./casper/minimal.hotfix.size ./casper/minimal.standard.live.hotfix.squashfs ./casper/minimal.standard.hotfix.squashfs ./casper/minimal.standard.hotfix.size ./casper/minimal.hotfix.squashfs ./casper/minimal.standard.live.manifest ./casper/minimal.size ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
DistributionChannelDescriptor:
- # This is the distribution channel descriptor for Ubuntu 24.04 for Dell
- # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
- canonical-oem-somerville-noble-oem-24.04b-20250714-538
+ # This is the distribution channel descriptor for Ubuntu 24.04 for Dell
+ # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
+ canonical-oem-somerville-noble-oem-24.04b-20250714-538
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2025-07-15 (15 days ago)
InstallationMedia: Ubuntu OEM 24.04.2 LTS "Noble Numbat" - Release amd64 (20250714)
Package: libgtk-4-1 4.14.5+ds-0ubuntu0.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 6.11.0-1025.25-oem 6.11.11
Tags: noble
Uname: Linux 6.11.0-1025-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
_MarkForUpload: True
** Description changed:
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.
- This issue caused bugs for LP:# 2051886 and LP: #2119065, as they
+ This issue caused bugs for LP: #2051886 and LP: #2119065, as they
interpret touchscreen input as mouse events, and expect it to input like
a mouse.
A ubuntu-bug report will be submitted later
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckMismatches: ./.disk/casper-uuid-oem ./casper/initrd ./casper/minimal.standard.live.hotfix.size ./casper/minimal.standard.live.size ./casper/minimal.manifest ./casper/minimal.standard.manifest ./casper/minimal.standard.size ./casper/minimal.hotfix.size ./casper/minimal.standard.live.hotfix.squashfs ./casper/minimal.standard.hotfix.squashfs ./casper/minimal.standard.hotfix.size ./casper/minimal.hotfix.squashfs ./casper/minimal.standard.live.manifest ./casper/minimal.size ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
DistributionChannelDescriptor:
# This is the distribution channel descriptor for Ubuntu 24.04 for Dell
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-noble-oem-24.04b-20250714-538
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2025-07-15 (15 days ago)
InstallationMedia: Ubuntu OEM 24.04.2 LTS "Noble Numbat" - Release amd64 (20250714)
Package: libgtk-4-1 4.14.5+ds-0ubuntu0.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 6.11.0-1025.25-oem 6.11.11
Tags: noble
Uname: Linux 6.11.0-1025-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
_MarkForUpload: True
--
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.
This issue caused bugs for LP: #2051886 and LP: #2119065, as they
interpret touchscreen input as mouse events, and expect it to input
like a mouse.
A ubuntu-bug report will be submitted later
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckMismatches: ./.disk/casper-uuid-oem ./casper/initrd ./casper/minimal.standard.live.hotfix.size ./casper/minimal.standard.live.size ./casper/minimal.manifest ./casper/minimal.standard.manifest ./casper/minimal.standard.size ./casper/minimal.hotfix.size ./casper/minimal.standard.live.hotfix.squashfs ./casper/minimal.standard.hotfix.squashfs ./casper/minimal.standard.hotfix.size ./casper/minimal.hotfix.squashfs ./casper/minimal.standard.live.manifest ./casper/minimal.size ./boot/grub/grub.cfg
CasperMD5CheckResult: fail
CurrentDesktop: ubuntu:GNOME
DistributionChannelDescriptor:
# This is the distribution channel descriptor for Ubuntu 24.04 for Dell
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-noble-oem-24.04b-20250714-538
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2025-07-15 (15 days ago)
InstallationMedia: Ubuntu OEM 24.04.2 LTS "Noble Numbat" - Release amd64 (20250714)
Package: libgtk-4-1 4.14.5+ds-0ubuntu0.1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 6.11.0-1025.25-oem 6.11.11
Tags: noble
Uname: Linux 6.11.0-1025-oem x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sudo users
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/2119066/+subscriptions
References