Comment 138 for bug 151448

Revision history for this message
In , monte (monte3) wrote :

I've been testing extensively for couple of days.
Wine 9.8 vanilla - SAI2 works out of the box, Photoshop CS4, 2017, 2020 tested and are broken. Pen pressure seems to be "working" but in a broken way, it registers pen press and the release events, and draws a straight line between this two points. It is only updated after pen release. Pressure is also only accounted at the time of pen down event. So basically unusable. The behavior changes if you unstack the canvas window from tabs line. Then pen works just like a simple mouse cursor, without lag but without any pressure control either. It seems like wintab is not used in this configuration, once you stack canvas back everything works as previously.
Wine 9.8 staging (proton, tkg) - wintab seems to be broken, in SAI2 can't draw with a pen, in Photoshop behaves as a simple mouse cursor. After applying staging patches one by one, I've found the culprit - https://github.com/wine-staging/wine-staging/blob/master/patches/user32-rawinput-mouse/0005-winex11-Keep-track-of-mouse-device-and-pointer-butto.patch The patch related to mouse raw input, somehow it brakes wintab.
I'd like to be able to use pen input in photoshop to the full extend, it seems so close, just find a way to make photoshop read motion events, and not only the button ones.