Bug 436851 - Changing Coordinate Transformation Matrix causes mouse to jump when using shift-drag to resize brush
Summary: Changing Coordinate Transformation Matrix causes mouse to jump when using shi...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 4.4.2
Platform: Mint (Debian based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-10 05:26 UTC by jeanaseal
Modified: 2021-05-21 11:25 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.