New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using this driver for touchscreens breaks touch-enabled Qt software #178
Comments
ftr, the reason the wacom driver is assigned to those devices is so that tablet and touch are handled by the same driver. This allows for touch arbitration and for the (wacom-driver-specific) gestures. @jigpu disabled gestures in 31a5405 for touchscreens, so this should all work now? What version of the driver are you running? |
I am running 0.40.0 on Fedora 34 and disabling gestures is not enough to fix it for me. See the related discussion in https://bugzilla.suse.com/show_bug.cgi?id=1172669. |
I used The only notable differences I see are:
I also noticed that disabling averaging (e.g. with I need to do additional testing with a Wacom tablet PC touchscreen to see if I can find any notable differences there. I'd also like to experiment with changing the valuator axis labels to see if that might change how Qt treats the device... |
I spent some more time looking at this and haven't been able to find anything wrong with the implementation. Once I ensure One thing I have noticed, however, is that KDE seems to set @Pointedstick can you switch back to using our driver for touch and doing some tests? I would be interested in the following:
|
Thanks for investigating, and sorry for the delayed response. I was out on vacation. I did a quick check and couldn't find anything in out software that explicitly sets Anyway, here's the rest of the requested output:
|
Never mind. I found the KDE software responsible: it was our Wacom tablet configuration UI, which has a way to enable gestures. It is set to on by default. I will turn it off by default and add a message warning people that touch support might break if they turn it on. There is no action for you you take here. Sorry for the noise. |
You can follow https://bugs.kde.org/show_bug.cgi?id=440556 if you're interested in the KDE side. |
The xorg config snippet that this driver installs (
70-wacom.conf
) contains a section that will take over handling of touchscreens from Libinput. Unfortunately the driver does not handle touch events in a way that Qt expects, and as a result, touch support for Qt software gets broken; the cursor is moved to the touched location, but the thing you touched does not get activated. Perhaps a click is being sent rather than a touch? See https://bugreports.qt.io/browse/QTBUG-84756 for more details.Consider either investigating and fixing the mis-handled touch events, or else removing the part of the config file that takes over input handling for touchscreens, and just leave it to Libinput instead.
Some distros have been patching this out downstream for quite some time. See
Fixing this issue would allow them to drop their patches.
The text was updated successfully, but these errors were encountered: