Bug 476829 - Using my Stylus as MiMB doesnt release Pan Action
Summary: Using my Stylus as MiMB doesnt release Pan Action
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: CPU Canvas (show other bugs)
Version: 5.2.1
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-11 09:21 UTC by Bollebib
Modified: 2024-05-13 09:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
tablet log (58.09 KB, text/plain)
2023-11-11 09:21 UTC, Bollebib
Details

Note You need to log in before you can comment on or make changes to this bug.
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.