Bug 382261 - Does not pick color
Summary: Does not pick color
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: 2017-07-12 06:46 UTC by Dakili
Modified: 2017-07-12 16:12 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dakili 2017-07-12 06:46:02 UTC
When clicked on widget icon, color picker  "cross"  appear, but does not pick any colors.

However, "right click color picker > open color dialog" seems to work ok.
Comment 1 Kai Uwe Broulik 2017-07-12 08:17:55 UTC
Is this Qt 5.9 with a multi-screen setup?
Comment 2 Dakili 2017-07-12 08:20:13 UTC
Yes!
I am sorry for not writing down this.
In fact, I am not able to add a widget to the second screen, "add widgets" column appears only on the first one.
Thank you for support.
Comment 3 Kai Uwe Broulik 2017-07-12 08:26:14 UTC
Thanks, I experienced the same after a Qt 5.9 update.

Also thanks for the color color dialog hint, I was able to just take its apparently more reliable picking code for the applet.

Patch: https://phabricator.kde.org/D6639
Comment 4 Dakili 2017-07-12 09:06:39 UTC
Glad I could help!
Thank you for support and for patch.
Comment 5 Kai Uwe Broulik 2017-07-12 16:12:26 UTC
Git commit 0ed491a1b0f1013bfd239ba1dc41210144c23e25 by Kai Uwe Broulik.
Committed on 12/07/2017 at 16:11.
Pushed by broulik into branch 'Plasma/5.10'.

[Color Picker] Fix picking colors in multi-screen

Simplifies code and also grab just one pixel instead of the entire screen.
FIXED-IN: 5.10.4

Differential Revision: https://phabricator.kde.org/D6639

M  +9    -8    applets/colorpicker/plugin/grabwidget.cpp

https://commits.kde.org/kdeplasma-addons/0ed491a1b0f1013bfd239ba1dc41210144c23e25