Bug 364925 - Cant reuse color picker history
Summary: Cant reuse color picker history
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: Color Picker (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-30 08:59 UTC by Dakili
Modified: 2016-06-30 09:45 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dakili 2016-06-30 08:59:22 UTC
In latest versions of color picker history cannot be used again.
There was a list of color codes when color in history was clicked before.
It would be enough if clicking on color in history would copy color code to clipboard.
Comment 1 Kai Uwe Broulik 2016-06-30 09:05:21 UTC
Crap. Confirmed. Clicking the color should actually bring up a menu where you could copy them to clipboard.
Comment 2 Kai Uwe Broulik 2016-06-30 09:05:50 UTC
As a workaround click the small blue highlighted frame around the color rather than the color itself.
Comment 3 Dakili 2016-06-30 09:07:48 UTC
Great!
Thanks.
Comment 4 Kai Uwe Broulik 2016-06-30 09:45:02 UTC
Git commit 04fa11b7bbb12b3aeb9eb5621c6c063158d17dc2 by Kai Uwe Broulik.
Committed on 30/06/2016 at 09:43.
Pushed by broulik into branch 'Plasma/5.7'.

[Color Picker] Use Qt's Drag capabilities instead of KDeclarative DragArea

Our DragArea steals clicks from the MouseArea so you could drag colors from
the color picker but not actually click to reveal the copy to clipboard menu.
Qt's Drag is attached to the very same MouseArea so this way it just works.

CHANGELOG: Copying colors from color picker history works as expected now
FIXED-IN: 5.7.0

M  +8    -9    applets/colorpicker/package/contents/ui/main.qml

http://commits.kde.org/kdeplasma-addons/04fa11b7bbb12b3aeb9eb5621c6c063158d17dc2