Bug 476829

Summary: Using my Stylus as MiMB doesnt release Pan Action
Product: [Applications] krita Reporter: Bollebib <kwadraatnope>
Component: CPU CanvasAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED FIXED    
Severity: normal CC: dimula73
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: tablet log

Description Bollebib 2023-11-11 09:21:52 UTC
Created attachment 163040 [details]
tablet log

Huion Kamvas Pro 22 Plus

STEPS TO REPRODUCE
1. open canvas 
2. use MMB or RMB assigned to Huion stylus 
3. Release button

OBSERVED RESULT

The mouse hand to pan , or the magnifying glass are "stuck'. Only slecting a layer or pishing a button on the toolbar makes it unstuck





SOFTWARE/OS VERSIONS
Windows: W10
 

ADDITIONAL INFORMATION


I made a tablet lof, but i did clearly see the log say 'mouse release, so i doubt its very useful
the log is attached
Comment 1 Dmitry Kazakov 2024-05-12 11:49:21 UTC
Hi, Bollebib!

Could you please make a set of tests for me? In which mode the bug manifests itself?

1) WinInk API; "Use mouse events for right- and middle-clicks" is ON
2) WinInk API; "Use mouse events for right- and middle-clicks" is OFF
3) WinTab API; "Use mouse events for right- and middle-clicks" is ON
4) WinTab API; "Use mouse events for right- and middle-clicks" is OFF

Which mode of the four you have enabled, and could you describe the behavior in each of these modes, so I could understand a little bit better, what happens on your device? 

PS:
Don't forget to restart Krita after switching the mode :)
Comment 2 Dmitry Kazakov 2024-05-12 12:36:58 UTC
Report from Bollebib:

winink + mouse events ON Works!
winink + mouse events off, doesnt
wintab+ mouse events works!
wintab with mouse events OFF doesnt
Comment 3 Dmitry Kazakov 2024-05-13 09:29:39 UTC
After a discussion on IRC we found out that this bug was an issue with a particular driver and switching into "WinTab API; "Use mouse events for right- and middle-clicks" is ON" mode fixes the issue.