Bug 138152

Summary: allow color picker to act like a temporary tool.
Product: [Applications] krita Reporter: Thomas Zander <zander>
Component: GeneralAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: wishlist CC: alvin, speciallyprocessedamericanmeat
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Zander 2006-11-30 14:10:10 UTC
Version:           1.6.1 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3)
Compiler:          Target: x86_64-linux-gnu
OS:                Linux (x86_64) release 2.6.15-26-amd64-generic

We currently use 'P' to switch to the color picker, which is useful in case I am drawing text.
the only thing that bothers me is if I remember the color picker tool, I also have to switch back which means more keyboard shortcuts to learn.

I would like to ask for a feature where pressing something like "Shift-P" will temporarily switch to the color picker, and after I clicked (and selected) one color it will automatically switch back to the one I had before.
Comment 1 Halla Rempt 2006-11-30 15:13:21 UTC
Yes, the colorpicker is one of the tools for which it should be possible to enable it temporarily, just like pan. I seem to remember we had it bound to ctrl-click or something some time ago, but that there were problems with it.
Comment 2 Halla Rempt 2009-11-07 13:37:50 UTC
Fixed in trunk.

SVN commit 1046077 by rempt:

Add color picker and pan mode to freehand tools

The freehand tools now have the following extra features:

 * press space: start pan mode. Pan mode takes until mouse release,
   it's not necessar to keep space pressed (though it doesn't hurt
   either).
 * ctrl-click: pick the color on the current layer.
 * ctrl-shift-click; pick the color in the image projection.
 (clicking with mouse buttons 2 or 3 will set the bg color, button 1 will
 set the foreground color)
Comment 3 F.S. 2017-09-02 16:37:17 UTC
This bug is still active on mine... I only recently installed Krita, but ctrl+click only uses the paint tool, and ctrl+shift+click doesn't do anything at all.
Comment 4 Alvin Wong 2017-09-02 17:09:46 UTC
(In reply to F.S. from comment #3)
> This bug is still active on mine... I only recently installed Krita, but
> ctrl+click only uses the paint tool, and ctrl+shift+click doesn't do
> anything at all.

Please create a new separate bug report for your issue, and state your system information:

https://bugs.kde.org/enter_bug.cgi?product=krita