After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673440 - shouldn't set GDK_SOURCE_TOUCHSCREEN based on the name
shouldn't set GDK_SOURCE_TOUCHSCREEN based on the name
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-04-03 14:48 UTC by Sebastien Bacher
Modified: 2012-04-07 00:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2012-04-03 14:48:24 UTC
The issue was reported on https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/965311

Using gtk 3.4 and xinput 2.2

an "appletouch" trackpad is detected as a GDK_SOURCE_TOUCHSCREEN by gtk leading to weird behaviour

that's due to 

"create_device (GdkDeviceManager *device_manager,
...
      else if (strstr (tmp_name, "finger") ||
               (strstr (tmp_name, "touch") &&
                !strstr (tmp_name, "touchpad")))
        input_source = GDK_SOURCE_TOUCHSCREEN;
..."
Comment 1 Matthias Clasen 2012-04-07 00:01:43 UTC
I've removed those heuristics now - only devices with touch classes will be considered touchscreens now.