Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-qt/qtgui - broken tablet pen behaviour
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6354

PostPosted: Sun Feb 16, 2020 12:45 am    Post subject: dev-qt/qtgui - broken tablet pen behaviour Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6354

PostPosted: Sat Apr 04, 2020 1:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6354

PostPosted: Mon Apr 06, 2020 11:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1993
Location: Here and Away Again

PostPosted: Tue Apr 07, 2020 11:13 am    Post subject: Reply with quote

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!
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6354

PostPosted: Tue Apr 07, 2020 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum