https://bugs.kde.org/show_bug.cgi?id=405494

--- Comment #14 from Alvin Wong <alvinhoc...@gmail.com> ---
(In reply to Boudewijn Rempt from comment #13)
> Created attachment 118923 [details]
> Tablet log with Windows Ink enabled in Wacom driver and Qt 5.12.2
> 
> After selecting a preset and returning the stylus to the canvas, the preset
> resets to the default one.

It looks like Qt generated a new stylus ID when the pen left and entered
proximity, or perhaps it is using `POINTER_INFO::pointerId` (haven't checked
the code). My implementation used `POINTER_INFO::sourceDevice` instead,
assuming one pen per digitizer (I don't remember if this is guaranteed). If
Krita associates a preset per ID, this would be why.

POINTER_INFO:
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/ns-winuser-tagpointer_info

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to