Hello, I'm writing to report a bug that I have been fighting for a long time now. I've come to conclude that the problem comes from Wintab. I can't use Windows Ink with Photoshop because there are even more problems that can't be fixed (If I do use Windows Ink, I'm going to write a longer bug thread than this one, I was even with an Adobe customer service staff to fix windows ink stuff and it didn't work). I'm hoping Photoshop can resolve this because CSP worked fine with WIntab.
  The pen must be pressed down and drawn for a very long stroke, then once the pen is lifted, it draws a line to the top left corner of the screen. Happens with brush tool, lasso and eraser (Most likely any tools that draw a line.). It's quite tricky to trigger, sometimes it happened twice every 30min as I work, Sometimes it doesn't happen at all for a whole day, and sometimes it happens with every stroke. It's frustrating as I have to choose to undo my long stroke or clean up the bugged line.
I have moved from an old PC (Intel i7-8700K, GTX 1070Ti) to a new set-up (Ryzen 9 5950X, RTX 3080) and the problem persists. I have changed from Wacom tablet to Huion (Both had the latest drivers update, reinstalled regularly) and it's still there. I have updated to new versions every time Photoshop updates have been released to no avail (Since ver22). I'm now on the latest PS update. I have updated my graphics card drivers to the latest. Resetting Photoshop preference does not work. Windows updates do not work. Plz Help.