Wacom touchscreens should disable gestures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Bin Li | ||
xf86-input-wacom (Ubuntu) |
Fix Released
|
Medium
|
Timo Aaltonen | ||
Bionic |
Fix Released
|
Medium
|
Timo Aaltonen |
Bug Description
[Impact]
From the original bug:
"The result is that on my Yoga 920, in a plain X11 session (running openbox in my case), the touchscreen acts like a broken mouse: there is no multi-touch capability in Qt Quick applications, and clicking isn't quite right either."
[Test case]
Install the update, note that the touchscreen behaviour is better.
[Regression potential]
From the upstream commit:
"Note that this change will effectively cause a feature regression for
users of other environments that do *not* have their own gesture
engines (Cinnamon, KDE, MATE, XFCE, etc.). Users will want to add an
xorg.conf.d snippet with `Option "Gesture" "on"` to bring back the
functionality."
but at least I (tjaalton) haven't heard of any complaints since we've disabled gestures in focal (Nov 21st), so the warning might be a bit too pessimistic about the impact.
--
/usr/share/
Section "InputClass"
Identifier "Wacom touchscreen class"
Driver "wacom"
EndSection
The result is that on my Yoga 920, in a plain X11 session (running openbox in my case), the touchscreen acts like a broken mouse: there is no multi-touch capability in Qt Quick applications, and clicking isn't quite right either. I also verified it with Peter Hutterer's old cairo-based mt-touch test program.
I suspect we will get some users mistakenly writing up Qt bugs about this if you don't ship a fix. (Seems to me that already happened at least once, actually.)
Yes, the touchscreen is made by Wacom, but wacom_drv.so has historically been only for Wacom tablets and in-screen stylus digitizers, and IMO that continues to be the case. libinput is a much better choice of driver for this hardware (so is evdev for that matter), so I changed it to Driver "libinput" and got it working. (Wayland uses libinput, so in a wayland session, touch already works fine in Qt apps on this hardware.)
I'm one of the Qt Quick maintainers, most concerned with touch handling, and I've also written some of the Qt xcb code for dealing with XInput touch and tablet devices. So if you think that there's something wrong with Qt, such that it should still work anyway to use a wacom driver for a Wacom touchscreen, let me know. These AES devices are still new to me (that's why I got a Yoga, to try it out).
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xserver-
ProcVersionSign
Uname: Linux 4.15.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Wed May 30 19:40:51 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
MachineType: LENOVO 80Y7
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xf86-input-wacom
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/22/2018
dmi.bios.vendor: LENOVO
dmi.bios.version: 5NCN38WW
dmi.board.
dmi.board.name: LNVNB161216
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40709 WIN
dmi.chassis.
dmi.chassis.type: 31
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: YOGA 920-13IKB
dmi.product.name: 80Y7
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.
version.
version.
version.
version.
version.
version.
description: | updated |
summary: |
- Wacom touchscreens should use libinput, not wacom driver + Wacom touchscreens should disable gestures |
no longer affects: | linux-oem (Ubuntu Bionic) |
no longer affects: | linux-oem (Ubuntu) |
Changed in oem-priority: | |
assignee: | nobody → Bin Li (binli) |
Changed in oem-priority: | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in xf86-input-wacom (Ubuntu): | |
importance: | Undecided → Medium |
Changed in xf86-input-wacom (Ubuntu Bionic): | |
importance: | Undecided → Medium |
tags: |
added: block-proposed-bionic removed: block-proposed |
Changed in oem-priority: | |
importance: | High → Critical |
Changed in oem-priority: | |
status: | In Progress → Fix Released |
I verified that the stylus does still work OK (using the Qt tablet example which demonstrates pressure- sensitivity etc.) So I think it's probably OK to remove that stanza completely: there's probably no reason to use wacom.drv for the touchscreen, just let it fall back to libinput or evdev, whichever is installed.