SUMMARY With touch painting disabled and tablet API set to WinTab, stylus input still produces synthesized touch events, which triggers the single touch panning gesture on painting. STEPS TO REPRODUCE 1. Disable touch painting and set to WinTab 2. Draw with stylus OBSERVED RESULT A dab got painted at the starting position but the canvas pans. EXPECTED RESULT Paint stroke without panning canvas SOFTWARE/OS VERSIONS Windows: 10 ADDITIONAL INFORMATION On Surface Pro 2017 with N-Trig WinTab driver installed. Nightly 6ce9aadc4b
Perhaps https://bugs.kde.org/show_bug.cgi?id=441145 is experiencing the same problem?
(In reply to tomtomtomreportingin from comment #1) > Perhaps https://bugs.kde.org/show_bug.cgi?id=441145 is experiencing the same > problem? It could be, but the reporter of that issue mention something about "jab at it quickly" which I am unable to verify. They also didn't mention the tablet API in use, though it is likely WinTab.
Created attachment 141122 [details] Tablet log for a few stylus strokes (WinTab)
*** Bug 441145 has been marked as a duplicate of this bug. ***
A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1041
Git commit 99cb9adf7857a0b1411b7f95309da7db92a20bec by Dmitry Kazakov, on behalf of Alvin Wong. Committed on 08/09/2021 at 12:43. Pushed by dkazakov into branch 'master'. Impl. touch blocking during tablet stroke 1. In WinTab mode some drivers still send Windows Ink events which Windows synthesizes into touch events and triggers the pan touch gesture. 2. In Windows Ink mode, even when the pen is being used, it is still possible to activate touch gestures with the touchscreen, which interrupts the current stroke. M +2 -0 libs/ui/input/kis_input_manager.cpp M +37 -0 libs/ui/input/kis_input_manager_p.cpp M +8 -0 libs/ui/input/kis_input_manager_p.h https://invent.kde.org/graphics/krita/commit/99cb9adf7857a0b1411b7f95309da7db92a20bec
Git commit 92c6cb650c7b23ed27da7c90ca6aac5a10ac0b57 by Alvin Wong. Committed on 08/09/2021 at 13:07. Pushed by alvinwong into branch 'krita/5.0'. Impl. touch blocking during tablet stroke 1. In WinTab mode some drivers still send Windows Ink events which Windows synthesizes into touch events and triggers the pan touch gesture. 2. In Windows Ink mode, even when the pen is being used, it is still possible to activate touch gestures with the touchscreen, which interrupts the current stroke. (cherry picked from commit 99cb9adf7857a0b1411b7f95309da7db92a20bec) M +2 -0 libs/ui/input/kis_input_manager.cpp M +37 -0 libs/ui/input/kis_input_manager_p.cpp M +8 -0 libs/ui/input/kis_input_manager_p.h https://invent.kde.org/graphics/krita/commit/92c6cb650c7b23ed27da7c90ca6aac5a10ac0b57