Bug 421656

Summary: Huion Kamvas 16 is treated as a mouse
Product: [Applications] krita Reporter: Jacob Ferrero <jacobaferrero>
Component: Tablets (tablet issues are only very rarely bugs in Krita!)Assignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: halla
Priority: NOR    
Version: 4.3.0-beta1   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jacob Ferrero 2020-05-17 01:33:27 UTC
SUMMARY

My Huion Kamvas 16 is being read as a mouse in the tablet tester.

I'm on the latest Ubuntu Linux, evtest shows tablet pressure events. It works fine in MyPaint.

STEPS TO REPRODUCE
1. Draw with tablet
2. 
3. 

OBSERVED RESULT

Tablet is treated as a mouse, pressure sensitivity does not work.

EXPECTED RESULT

Tablet is treated as a tablet, pressure sensitivity works.
Comment 1 Halla Rempt 2020-05-17 08:23:42 UTC
Does it work in the tablet tester window? See https://docs.krita.org/en/reference_manual/preferences/tablet_settings.html#tablet-tester
Comment 2 Halla Rempt 2020-05-17 08:24:43 UTC
Oh, and are you actually using Ubuntu packages of the beta, or a different version of Krita or the appimage?
Comment 3 Jacob Ferrero 2020-05-17 14:15:05 UTC
(In reply to Boudewijn Rempt from comment #1)
> Does it work in the tablet tester window? See
> https://docs.krita.org/en/reference_manual/preferences/tablet_settings.
> html#tablet-tester

It shows up as a mouse (red line)
Comment 4 Jacob Ferrero 2020-05-17 14:16:09 UTC
(In reply to Boudewijn Rempt from comment #2)
> Oh, and are you actually using Ubuntu packages of the beta, or a different
> version of Krita or the appimage?

I am using the appimage from https://binary-factory.kde.org/job/Krita_Stable_Appimage_Build/
Comment 5 Jacob Ferrero 2020-05-17 14:21:02 UTC
I just tried the 5.0.0 prealpha, also gave the same result in the tablet tester and drawing on the canvas.
Comment 6 Halla Rempt 2020-05-17 15:23:13 UTC
If it shows up as a mouse in the tablet tester, only mouse events are coming through. This may be a problem in Qt, or a problem with the drivers, but not a bug in Krita, I'm sorry. (That mypaint works doesn't mean a lot, mypaint uses GTK, so it has completely different tablet code). We could try to add support to Qt, but given that we don't have the hardware, that's going to be difficult.
Comment 7 Jacob Ferrero 2020-06-17 22:02:31 UTC
As a note to future travellers, this issue went away when upgrading Ubuntu to 20.04.