This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Surface Pro 4 Cursor Offset?

Tags: None
(comma "," separated)
meghanr
Registered Member
Posts
2
Karma
0

Surface Pro 4 Cursor Offset?

Fri Jan 27, 2017 5:25 pm
Hi, I just bought Krita Gemini through Steam for my Surface Pro 4 - trying the free demo, everything worked fine once I'd made sure all my drivers were updated. However, now I'm using the full version, whenever I try to draw on the canvas with my stylus the cursor is appearing way off to the left of where it should be. All UI etc outside of the canvas seem to be fine, and the canvas itself doesn't have the offset when I use my finger on the touchscreen or the trackpad mouse, only the stylus. This problem is happening in both Gemini and Sketch mode. Help? :(
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Surface Pro 4 Cursor Offset?

Fri Jan 27, 2017 5:43 pm
Um... If sketch works, gemini should work, since they share the exactly same codebase. You could also enable the beta channel and get the 3.0 desktop version (or get it from krita.org) and see what that does... The thing is, on my Surface Pro 3, all versions work the same way.
meghanr
Registered Member
Posts
2
Karma
0

Re: Surface Pro 4 Cursor Offset?

Fri Jan 27, 2017 6:23 pm
Ah, sorry if I wasn't clear enough, the offset issue is happening in both Gemini and Sketch, neither are working. It's just the free demo that was working initially.
Abdelrahman Magdy
Registered Member
Posts
37
Karma
0

Re: Surface Pro 4 Cursor Offset?

Sun Jan 29, 2017 1:13 pm
I have a similar issue on my recently bought Surface Book. I use Krita all the time with my Wacom Cintiq on my desktop computer and it works really well, but on the Surface, the cursor seems to be slightly offset to the right of the brush tip.

This is not an issue when I am using large brushes, or when I am sketching with broader strokes, but it becomes really annoying if I try doing some detail work with smaller brushes because my strokes don't end exactly where I want them to be.

I initially thought it's a calibration issue, so I re-calibrated my pen, but that didn't fix it. So, I tried the sketchpad that comes pre-installed with the Surface and found out that it doesn't have this issue.

It doesn't make Krita unusable for me, it just makes it slightly annoying with any detail work.

The version I am using is the 64-bit Krita 3.1.1
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Surface Pro 4 Cursor Offset?

Sun Jan 29, 2017 2:43 pm
The sketchpad application uses the n-trig pen directly, through Windows Ink. Krita uses the Wintab compatibility driver. I suspect that that's where the issue is, since krita just uses the coordiates it gets from the driver. I've several times tried to figure out where Microsoft hides the Ink documentation, but all I can find is useless stuff about collecting strokes and connecting them to a xaml canvas where they'll be displayed... And as far as I can find there is not a single open source project that uses the Ink api to get pressure sensitive pen info.
Abdelrahman Magdy
Registered Member
Posts
37
Karma
0

Re: Surface Pro 4 Cursor Offset?

Sun Jan 29, 2017 2:56 pm
Typical windows behavior ;D... You can't find any useful information.

I am not a developer myself, but could Krita later use the n-trig pen directly, or is it something that Microsoft makes it available only for the software they (and their partners) develop??

Thank you for your help.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Surface Pro 4 Cursor Offset?

Sun Jan 29, 2017 3:05 pm
Well, we're all supposed to port to their new API. But I cannot figure out where to find the information on how to do it. The api seems to be made in the eighties for pen tablets where the big thing was going to be handwriting recognition, not for this decade where the big thing is creating art.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]