Bug 349422

Summary: [WACOM INTUOS] Tablet middle click loses functionality on window switch
Product: [Applications] krita Reporter: magnamara69
Component: Tablets (tablet issues are only very rarely bugs in Krita!)Assignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: griffinvalley, halla, raghu
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: Tablet log

Description magnamara69 2015-06-20 18:52:47 UTC
Using Wacom Intuos pen & touch small(cth-480) with middle click mapped onto side button, running krita 2.9.5 on windows 8.

Changing from krita window to any other window results in the middle click button losing its functionality(i.e. not panning canvas), and must use eraser side of the pen in order to recover it.

Reproducible: Sometimes

Steps to Reproduce:
1.pan the canvas on krita window.
2.switch to any other window.
3.attempt to pan the canvas on krita window using middle click mapped to the tablet
4.if lost functionality, use the eraser tip, then switch back to primary tip.



Windows 8.1.
Krita 2.9.5.
Wacom Intuos pen & touch small(cth-480).
Middle click mapped to side button closer to eraser tip.
Comment 1 Halla Rempt 2015-06-21 13:25:58 UTC
Hi,

I'm sorry, I haven't been able to reproduce this yet :-(
Comment 2 magnamara69 2015-06-22 22:11:11 UTC
(In reply to Boudewijn Rempt from comment #1)
> Hi,
> 
> I'm sorry, I haven't been able to reproduce this yet :-(

I just realized it is not switching windows that makes the middle click functionality dissappear, it is SAVING the document, i confused the two because i always do something else after saving, but leave krita open.

I can confirm this happens each and every time i save after modifiying my krita document, some information that might be relevant:

1)I have openGL enabled and have an Intel HD Graphics 4000.
2)Autosave every 6 minutes.
3)Create backup enabled.
4)Undo stack size 100.
Comment 3 Raghavendra kamath 2016-03-16 12:25:57 UTC
I can reproduce this , although after some seconds the pen starts to work. 
If i switch to some other window and come back to krita after some brief moment the pen stops working it can't paint or pan then some seconds later it comes back. 

I have noticed that if i take the mouse off the canvas ( for example if I hover it on toolbar) for a moment then it starts working again

I am guessing that this has to do something with the notification or focus bug 

I am on kde plasma 5 linux with latest krita built from git master
Comment 4 Raghavendra kamath 2016-03-16 12:27:20 UTC
Created attachment 97924 [details]
Tablet log

Please find attached tablet log for this bug.

Also please note that i get a crash on exit so ignore the crash in the log
Comment 5 Raghavendra kamath 2016-03-16 12:36:12 UTC
here is a video demonstrating the problem -> https://dl.dropboxusercontent.com/u/37777793/switch-window.mp4
Comment 6 Raghavendra kamath 2016-03-28 04:07:24 UTC
For me this doesn't happen anymore in 3.0 latest git with qt 5.6 on linux. Can someone or the reporter check if this happens on windows?
Comment 7 Halla Rempt 2016-06-16 09:44:18 UTC
Closing then