Bug 378244 - connected stroke on lenovo miix 700
Summary: connected stroke on lenovo miix 700
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.1.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-29 16:10 UTC by Filippo Rossoni
Modified: 2017-09-05 16:30 UTC (History)
2 users (show)

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


Attachments
tablet log 1 draw directly 2 draw directly 3 wait cursor 4 between hover distance (484.54 KB, text/plain)
2017-03-29 16:10 UTC, Filippo Rossoni
Details
stroke result (18.16 KB, image/png)
2017-03-29 16:11 UTC, Filippo Rossoni
Details
strange behavior 2 (149.63 KB, text/plain)
2017-03-29 22:50 UTC, Filippo Rossoni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filippo Rossoni 2017-03-29 16:10:08 UTC
Created attachment 104798 [details]
tablet log 1 draw directly 2 draw directly 3 wait cursor 4 between hover distance

I have a Lenovo miix 700 with windows 10 
it has an ELAN screen compatible with wacom aes pen but not with wacom driver

I use a wacom Bamboo Smart (version for select tablets and 2-in-1 convertible devices)

accordind to this site
http://arthurhwalker.tumblr.com/post/139973019568/lenovo-miix-700-review
to make krita recognize the pressure I installed microsoft wintab driver for surface 4 (v 1.0.0.20)

the problem is if I draw multiple stroke i get a connection with previous stroke with a soft line

If i wait the cursor to appear before drawing a stroke I get no problem

If I stay within the hover distance (4 5 mm) between 2 strokes I get no problem
Comment 1 Filippo Rossoni 2017-03-29 16:11:10 UTC
Created attachment 104799 [details]
stroke result
Comment 2 Dmitry Kazakov 2017-03-29 16:25:13 UTC
The last two 'ifs' sound quite interesting...
Comment 3 Dmitry Kazakov 2017-03-29 16:26:38 UTC
I have a feeling that the driver generates a TabletPress event after every "TabletEnterProximity" event. Which sounds weird, but correlates well with tablet log and the second 'if'
Comment 4 Filippo Rossoni 2017-03-29 16:38:20 UTC
I'm not shure about last if becouse I move the pen slowly to not leave the shallower hover distance
Comment 5 Filippo Rossoni 2017-03-29 22:50:42 UTC
Created attachment 104805 [details]
strange behavior 2

another strange behavior 
1 draw stroke with stylus
2 draw stroke with mouse
3 draw stroke with stylus

stroke 3 connected to stroke 1
Comment 6 Alvin Wong 2017-09-05 16:30:41 UTC
My guess on what seems to be happening is that, whenever the stylus is pressed too quickly, it has not yet updated the stylus coordinate so it sends a tablet press event with the last remembered coordinates before the stylus last left the hover proximity. It can be guessed from the fact that there aren't any tablet hover events (TabletMove with btns=0) before the tablet press events that sends the wrong coordinates.

It can be worked around by waiting for the hover events to be sent, as observed.

Unfortunately, since it is a driver (or hardware) issue, we can't fix it on Krita's end.