I can choose colour from triangle in a popup palette with clicking a pen button than assigned to a right mouse button. Than the palette close. The Mouse hasn't same behaviour. The right mouse button click at any part of palette just close one.
STEPS TO REPRODUCE
1. Choose a colour
2. Open a brush popup palette with click a "right" button on stylus
3. Close the palette with click same button when a cursor is placed insight colour circle
The colour that was selected on step 1 changed
A colour should be same
Linux/KDE Plasma: Mint Cinnamon 19.1
Qt Version: qtcore - 5.9.5+dfsg-0ubuntu1
This behaviour are totally comfortless because of I can accidental change a colour.
What kind of tablet are you using?
(In reply to Boudewijn Rempt from comment #1)
> What kind of tablet are you using?
One by Wacom CTL-672
I have also confirmed this issue on the following machine:
Wacom Cintiq 24HDT
Clicking the pen's "right mouse button" on the canvas will pop up the color picker. If you then right-click (or hold it and drag) on a color the selection will change and the picker will be dismissed. Interestingly, although the selected color changes, the brush color itself doesn't seem to change.
Trying the same with a mouse results in the picker opening and closing without a change to the selected color.
I can confirm this on a Cintiq Pro 13, Manjaro KDE 18.0.4, Krita 4.2.0. Right click on Popup palette's color triangle doesn't close the palette, while a mouse's right click closes it.
alright, setting it to confirmed then.
This is also happening with my pen (Huion) on Windows git master
I think the issue is specifically with the color selector in the middle and how it handles tablet drag events. I think if we can just update the input handling of that color selector to ignore all right click events that will take care of it.
*** Bug 393317 has been marked as a duplicate of this bug. ***
Git commit 62b4e3f3b9ce13d51b77be76b4b768bac46f3c20 by Scott Petrovic.
Committed on 09/04/2019 at 00:27.
Pushed by scottpetrovic into branch 'master'.
M +36 -22 libs/ui/kis_popup_palette.cpp
M +1 -0 libs/widgets/KoTriangleColorSelector.h
Right-clicking on the color selector area now closes the popup palette immediately, and also makes sure a color is not selected.
(In reply to Scott Petrovic from comment #9)
> Right-clicking on the color selector area now closes the popup palette
> immediately, and also makes sure a color is not selected.
Thank you Scott! :)