Bug 362623

Summary: double clicking on the canvas while hand tool is active changes the tool to shape handling tool
Product: [Applications] krita Reporter: Raghavendra kamath <raghu>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: info
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Raghavendra kamath 2016-05-03 13:00:04 UTC
As the title suggests, while the hand (panning) tool is active , if the user double clicks on the canvas the shape handling tool ( arrow) gets activated.

I am on arch linux and krita I built from git .


Reproducible: Always

Steps to Reproduce:
1. Open krita and open a new document
2. click on the panning tool (hand icon) in the tool box
3. double click on the canvas

Actual Results:  
the shape handling tool gets activated

Expected Results:  
hand tool should still be activated
Comment 1 David REVOY 2016-05-03 13:06:56 UTC
Reproduced here, Git build from this morning. Ubuntu 16.04
Comment 2 Halla Rempt 2016-05-03 13:17:23 UTC
Try https://paste.kde.org/pwg14ls2r -- that should fix the issue. I cannot build here at work, though.
Comment 3 Halla Rempt 2016-05-04 06:22:45 UTC
Git commit c51dd6585857ff37602a729c366188cdba059be9 by Boudewijn Rempt.
Committed on 04/05/2016 at 06:12.
Pushed by rempt into branch 'master'.

M  +6    -0    libs/flake/tools/KoPanTool.cpp
M  +3    -0    libs/flake/tools/KoPanTool.h

http://commits.kde.org/krita/c51dd6585857ff37602a729c366188cdba059be9
Comment 4 Friedrich W. H. Kossebau 2016-05-24 16:46:13 UTC
Git commit 61fb4955aba8f2dbc592b0e9cf6d64f2c69729fe by Friedrich W. H. Kossebau, on behalf of Boudewijn Rempt.
Committed on 24/05/2016 at 16:38.
Pushed by kossebau into branch 'master'.

M  +6    -0    libs/flake/tools/KoPanTool.cpp
M  +3    -0    libs/flake/tools/KoPanTool.h

http://commits.kde.org/calligra/61fb4955aba8f2dbc592b0e9cf6d64f2c69729fe