Bug 382261

Summary: Does not pick color
Product: [Unmaintained] kdeplasma-addons Reporter: Dakili <darkog71>
Component: Color PickerAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.10.4
Sentry Crash Report:

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