Bug 436851

Summary: Changing Coordinate Transformation Matrix causes mouse to jump when using shift-drag to resize brush
Product: [Applications] krita Reporter: jeanaseal
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: dimula73, jeanaseal, tamtamy.tymona
Priority: NOR    
Version First Reported In: 4.4.2   
Target Milestone: ---   
Platform: Mint (Debian based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jeanaseal 2021-05-10 05:26:34 UTC
SUMMARY
Changing Coordinate Transformation Matrix causes mouse to jump when using shift-drag to resize brush.
I'm using a Huion tablet with digimend-dkms version 10 on Linux Mint.

I use the following commands, which have no effect:
xsetwacom --set "HUION Huion Tablet_HS610 Pen stylus" Mode "Relative"
xsetwacom --set 'HUION Huion Tablet_HS610 Pen stylus' PressureCurve "0 0 75 75"

But when I modify the coord trans mat as such, the cursor jumps to the edge of my screen when using shift-drag to resize the brush:
xinput set-prop "HUION Huion Tablet_HS610 Pen stylus" "Coordinate Transformation Matrix" 1.5 0 0 0 1.5 0 0 0 1

It seems that this is an issue when the matrix is changed to anything other than default.

STEPS TO REPRODUCE
1. Change the Coordinate Transformation Matrix to anything other than default (1 0 0 0 1 0 0 0 1)
2. Hold shift and drag the pointer side-to-side to change the brush size
3. Release the left click and the cursor will jump to the right edge of screen

OBSERVED RESULT
The brush size changes and the cursor will jump to the right edge of screen.

EXPECTED RESULT
The brush size changes and the cursor stays at the position it was at the beginning of the drag.


SOFTWARE/OS VERSIONS
Linux Mint 20.1
Cinnamon 4.8.6
Linux 5.4.0-72-generic

ADDITIONAL INFORMATION
Comment 1 Tiar 2021-05-19 00:57:03 UTC
It sounds like a tablet problem, not a problem in Krita. You can check and compare the tablet log in both cases. The tablet log should be from this instruction: https://docs.krita.org/en/contributors_manual/user_support.html#gathering-information (I mean the "More detailed Tablet Events log").
Comment 2 Dmitry Kazakov 2021-05-21 11:25:54 UTC
Hi, jeanaseal!

Relative mode for tablets is not supported in Krita.