Bug 373551 - [XP Pen] Krita cannot track XP-Pen cursor when not pressed
Summary: [XP Pen] Krita cannot track XP-Pen cursor when not pressed
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: Tablets (tablet issues are only very rarely bugs in Krita!) (other bugs)
Version First Reported In: 3.0.1.1
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 367618 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-12-12 01:08 UTC by actual-tsundere
Modified: 2017-03-03 10:54 UTC (History)
5 users (show)

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


Attachments
Debug view report (910.43 KB, text/plain)
2016-12-12 01:08 UTC, actual-tsundere
Details

Note You need to log in before you can comment on or make changes to this bug.
Description actual-tsundere 2016-12-12 01:08:06 UTC
Created attachment 102733 [details]
Debug view report

I use a XP-Pen 21.5 HD monitor tablet and it works fine in all other instances. When not using a brush Krita seems to track my stylus just fine but when I try to draw with a brush the tracking doesn't work at all, although it does work with heavy lag with tablet event logging on, except when the stylus is pressed (ie drawing).

I've already tried restarting.

Reproducibilty: Always

Expected results: Cursor follows stylus, even when lifted slightly from monitor

Actual results: Cursor only follows tablet when not in brush mode or pressed down in said mode (ie drawing).
Comment 1 Halla Rempt 2016-12-12 09:01:19 UTC
*** Bug 367618 has been marked as a duplicate of this bug. ***
Comment 2 Halla Rempt 2016-12-12 09:05:24 UTC
Hi,

Something is really wrong with the tablet driver. Apparently the authors don't think it's necessary to send tablet events, but only promiximity events (that tell us whether the pen moves towards the tablet or moves away from it) and mouse move events. It might be possible to hack around this driver bug, but without actual hardware it's going to be tricky, and we cannot buy every brand of tablet to test Krita with.
Comment 3 actual-tsundere 2016-12-13 22:46:51 UTC
(In reply to Boudewijn Rempt from comment #2)
> Hi,
> 
> Something is really wrong with the tablet driver. Apparently the authors
> don't think it's necessary to send tablet events, but only promiximity
> events (that tell us whether the pen moves towards the tablet or moves away
> from it) and mouse move events. It might be possible to hack around this
> driver bug, but without actual hardware it's going to be tricky, and we
> cannot buy every brand of tablet to test Krita with.

How do I record either of those? I assume that's what you're asking of me. Google isn't being very useful. http://prntscr.com/dj3wlc
Comment 4 Halla Rempt 2016-12-14 10:04:45 UTC
The tablet log recorded them -- I'm not asking you to do anything right now, because, well, without hardware we cannot try to fix support.
Comment 5 Coviden 2017-01-16 05:11:17 UTC
     I am having the same problem.  This has only started happening since the resent updates (3.1.1).  If I set the cursor shape to something then it will show a cursor where the pen is, as would be expected, but when I try to do anything on the canvas then it is noticeable.  I first noticed it when I tried to pan.  When I middle clicked with the pen the canvas jumped to center itself where the pen was last pressed.  After messing with it for a bit I was able to figure out that the cursor on the canvas was not following the pen cursor.  When using a brush if I tapped on one spot of the canvas and then in another spot it would end up drawing a line to the two points.  This also happened with the select tools.  The canvas dose not update the cursor position unless the pen is pressed on the canvas.  Once again this only started happening after I updated to 3.1.1  I do not know which version I was using before this.  I will try going back through the versions to see I can find one before this started happening.
Comment 6 Coviden 2017-01-19 00:55:05 UTC
(In reply to actual-tsundere from comment #0)
> Created attachment 102733 [details]
> Debug view report
> 
> I use a XP-Pen 21.5 HD monitor tablet and it works fine in all other
> instances. When not using a brush Krita seems to track my stylus just fine
> but when I try to draw with a brush the tracking doesn't work at all,
> although it does work with heavy lag with tablet event logging on, except
> when the stylus is pressed (ie drawing).
> 
> I've already tried restarting.
> 
> Reproducibilty: Always
> 
> Expected results: Cursor follows stylus, even when lifted slightly from
> monitor
> 
> Actual results: Cursor only follows tablet when not in brush mode or pressed
> down in said mode (ie drawing).

I have found that Krita 2.9.9.2 works with my XP-Pen tablet.  Only when I updated to the newest one does the tablet stop working.
Comment 7 xrcrod 2017-02-02 21:59:00 UTC
For what it is worth, I have 0 issues with my XP Pen G430 on Windows 8.1 with Krita 3.1.2.
Comment 8 Halla Rempt 2017-03-03 10:54:04 UTC
Closing this bug -- we just cannot do anything about drivers like this one. It's like this: if it works, fine, if a driver update breaks stuff, complain to xp-pen.