Bug 387164

Summary: Switch Colors in Popup Palette when clicking upper left color circles
Product: [Applications] krita Reporter: ultimatepavlova <jcmartin.art>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla
Priority: NOR    
Version: 3.3.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Attachments: Arrow showing location of "upper left color circles" (green for foreground color, dark purple for background color)

Description ultimatepavlova 2017-11-20 18:36:38 UTC
Created attachment 108992 [details]
Arrow showing location of "upper left color circles" (green for foreground color, dark purple for background color)

I am requesting that the Popup Palette allow for a shortcut to Switch Colors (X keyboard shortcut). The logical place to do this would be by clicking on the foreground and background "color circles" in the upper left corner of the Popup Palette. (see attachment for the circles I'm talking about)

My suggestion is that clicking either one of these circles would switch the foreground and background colors.

Using a tablet wirelessly or far from my keyboard means I have to have switch colors on the valuable pen buttons or nested within radial menus. These circles don't do anything when clicked already, and allowing you to click them to switch colors would allow a tablet user to change the foreground and background colors without having to use a keyboard or other types of menus.
Comment 1 Dmitry Kazakov 2021-07-06 08:44:50 UTC
Git commit 1648b7260b60f8f1f862bc4518dd469df7fbcd4a by Dmitry Kazakov, on behalf of Alan North.
Committed on 05/07/2021 at 07:20.
Pushed by dkazakov into branch 'master'.

Popup Palette: Add click fg/bg colors to switch colors

Also moves the indicators a bit so they align with the -45 degree line.

M  +2    -1    libs/ui/KisViewManager.h
M  +56   -5    libs/ui/kis_popup_palette.cpp
M  +2    -0    libs/ui/kis_popup_palette.h

https://invent.kde.org/graphics/krita/commit/1648b7260b60f8f1f862bc4518dd469df7fbcd4a