View previous topic :: View next topic |
Author |
Message |
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Feb 16, 2020 12:45 am Post subject: dev-qt/qtgui - broken tablet pen behaviour |
|
|
In Qt-based programs (and *only* those, it works everywhere else), a pen down event doesn't trigger a left click. How can I fix this? Krita is unusable when I have to keep switching to the mouse to do anything.
Relevant part of Xorg.0.log:
Code: | [112702.847] (II) config/udev: Adding input device UC-LOGIC Tablet WP8060U Mouse (/dev/input/event23)
[112702.847] (**) UC-LOGIC Tablet WP8060U Mouse: Applying InputClass "libinput pointer catchall"
[112702.847] (II) Using input driver 'libinput' for 'UC-LOGIC Tablet WP8060U Mouse'
[112702.847] (**) UC-LOGIC Tablet WP8060U Mouse: always reports core events
[112702.847] (**) Option "Device" "/dev/input/event23"
[112702.848] (**) Option "_source" "server/udev"
[112702.848] (II) event23 - UC-LOGIC Tablet WP8060U Mouse: is tagged by udev as: Mouse
[112702.848] (II) event23 - UC-LOGIC Tablet WP8060U Mouse: device is a pointer
[112702.848] (II) event23 - UC-LOGIC Tablet WP8060U Mouse: device removed
[112702.970] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:05:00.3/usb3/3-4/3-4:1.0/0003:5543:0005.0008/input/input25/event23"
[112702.970] (**) Option "AccelerationScheme" "none"
[112702.970] (**) UC-LOGIC Tablet WP8060U Mouse: (accel) selected scheme none/0
[112702.971] (**) UC-LOGIC Tablet WP8060U Mouse: (accel) acceleration factor: 2.000
[112702.971] (**) UC-LOGIC Tablet WP8060U Mouse: (accel) acceleration threshold: 4
[112703.050] (II) event23 - UC-LOGIC Tablet WP8060U Mouse: is tagged by udev as: Mouse
[112703.050] (II) event23 - UC-LOGIC Tablet WP8060U Mouse: device is a pointer
[112703.051] (II) config/udev: Adding input device UC-LOGIC Tablet WP8060U Pen (/dev/input/event22)
[112703.051] (**) UC-LOGIC Tablet WP8060U Pen: Applying InputClass "libinput tablet catchall"
[112703.051] (II) Using input driver 'libinput' for 'UC-LOGIC Tablet WP8060U Pen'
[112703.051] (**) UC-LOGIC Tablet WP8060U Pen: always reports core events
[112703.051] (**) Option "Device" "/dev/input/event22"
[112703.051] (**) Option "_source" "server/udev"
[112703.052] (II) event22 - UC-LOGIC Tablet WP8060U Pen: is tagged by udev as: Tablet
[112703.052] (II) event22 - UC-LOGIC Tablet WP8060U Pen: device is a tablet
[112703.052] (II) event22 - UC-LOGIC Tablet WP8060U Pen: device removed
[112703.200] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:05:00.3/usb3/3-4/3-4:1.0/0003:5543:0005.0008/input/input24/event22"
[112703.200] (II) event22 - UC-LOGIC Tablet WP8060U Pen: is tagged by udev as: Tablet
[112703.201] (II) event22 - UC-LOGIC Tablet WP8060U Pen: device is a tablet |
|
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Apr 04, 2020 1:29 am Post subject: |
|
|
Update on this - I tried forcing the wacom driver instead of libinput, which used to work. This only made things even worse, now all Qt programs segfault on tablet input. Recompiling qtgui with USE="-libinput" had no effect either.
I've given up on trying to get Qt to work, I'll just go back to GTK apps. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Mon Apr 06, 2020 11:32 pm Post subject: |
|
|
Turns out this was already reported upstream a year ago: https://bugreports.qt.io/browse/QTBUG-77826
Then they marked it fixed 3 months ago… and other users are complaining it actually wasn't. It looks like 5.14.2 might actually, finally, fix it. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2581 Location: Here and Away Again
|
Posted: Tue Apr 07, 2020 11:13 am Post subject: |
|
|
I had the feeling I had seen something that might have been related, but I forgot to go look, and post about it...
Glad you found out about it regardless! _________________ Kindest of regardses. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Tue Apr 07, 2020 4:11 pm Post subject: |
|
|
Chiitoo wrote: | I had the feeling I had seen something that might have been related |
I just realised the initial post doesn't at all describe what turned out to be the real problem (pointer drift in Qt windows); clicking appeared broken because it was sending the clicks to the wrong part of the window. Oh well.
The problem with the wacom driver isn't great, but as long as I can get one of the two working... |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8938
|
Posted: Thu Apr 09, 2020 9:58 pm Post subject: |
|
|
Qt 5.14.2 is now in ~arch if you still want to give it a try. |
|
Back to top |
|
|
|