Add Support for Windows Ink

gtk
feature_proposal
windows
upstream
gdk
Tags: #<Tag:0x00007f14c7f303f8> #<Tag:0x00007f14c7f30218> #<Tag:0x00007f14c7f30060> #<Tag:0x00007f14c7f3bed8> #<Tag:0x00007f14c7f3bd98>

#1

This is probably an upstream issue with GDK(The library MyPaint relies on for input devices), but we should keep track and push support for Windows Ink. This will allow us to use N-Trig hardware as well. For example, 3rd generation and beyond Surface Tablets/Laptops use it, and also any laptop made in 2016 and up that has pen support use windows ink.

Here more infro from Microsofts Devloper page:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms700664(v=vs.85).aspx


#2

And here’s the decade-old bug report with more background:

https://bugzilla.gnome.org/show_bug.cgi?id=343773

Surprisingly there are only 29 comments. Maybe we just need to make more noise? On the other hand, as @Jehan noted it seems to be common (at least from googling) for people to disable Windows Ink to avoid laggy brushes. SO, even if GDK supported Windows Ink, would it even work well? It’s 2017 and many native Windows Apps recommend disabling Windows Ink? It seems strange, doesn’t it? edit Krita just released experimental support for Windows Ink so maybe we can see how that goes :smiley:


#3

Surprisingly there are only 29 comments. Maybe we just need to make more noise?

As Emmanuele Bassi noted, “making noise” is not useful, quite the contrary. One of us (the people who care about the topic; it could be someone from MyPaint, from GIMP, maybe Carlos who manages Wacom tablets on GNOME… or someone else) will have to implement it at some point if we really want it.
Personally I can’t make the time for this right now since Windows is not my platform of choice, though I still care (so maybe one day if I get very bored or if I get funded for this).

On the other hand, as @Jehan noted it seems to be common (at least from googling) for people to disable Windows Ink to avoid laggy brushes. SO, even if GDK supported Windows Ink, would it even work well? It’s 2017 and many native Windows Apps recommend disabling Windows Ink? It seems strange, doesn’t it?

This must be one of these cases where you will have tablets working better with a driver while others will work better with the other driver. So it likely means we should just have both implementations and appropriate settings to allow people to test and choose (better would be some kind of detection of what will work better for which tablet/pen, but I doubt such a test can be automatized, can it?).


#4

You’re right, the only helpful noise is requests from actual users that have devices without any wintab drivers, I suppose. After all, there’s no reason to work on something that practically no one needs. It sounds like a bit of a pain to install wintab drivers sometimes, but is there really a crisis brewing for support for N-Trig, etc?


#5

A few of our issue tickets have been mainly from Surface owner which the 3rd and 4th gen use N-trig hardware. And since Microsoft is the trends setter for similar devices, the number of N-trig users are going to grow. Plus I do own a tablet which uses N-trig as well, so I can do some testing on windows. I just need to get a copy of windows 10 installed on a drive.


#6

I guess for the time being we might put together a guide for installing wintab drivers. It sounds like the Microsoft driver is missing some shared library which needs to be installed as well. This thread has some good information:

https://forum.kde.org/viewtopic.php?f=281&t=129080


#7

I set my thread as a wiki so you can also add any info that is related to this as well.