Bug 455580

Summary: Color Picker in System Settings won't select colors
Product: [Applications] systemsettings Reporter: computerworm <computerworm>
Component: kcm_colorsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jpwhiting, meven29, mwoehlke.floss, olivercrothers77, p.r.worrall
Priority: NOR Keywords: wayland
Version: 5.25.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description computerworm 2022-06-19 03:14:20 UTC
SUMMARY
I tried to select my accent color with by using System Settings > Appearance > Colors > Custom > Pick Screen Color. The Color Picker from that dialog won't pick screen colors. I opened System Settings from the terminal, and tried Color Picker again.

I saw this message : "This plugin supports grabbing the mouse only for popup windows"
Following that, this message was repeated numerous times: "QImage::pixel: coordinate (0,0) out of range"

STEPS TO REPRODUCE
1. Open System Settings and navigate to Appearance > Colors
2. Click "Custom" under "Use accent color"
3. Click "Pick Screen Color" and attempt to pick a color from your screen

OBSERVED RESULT
The cursor turns into a crosshair shape while within the popup window, but does nothing when clicked. When the cursor leaves the popup window, the crosshair shape disappears and still does nothing.

EXPECTED RESULT
The cursor turns into a crosshair shape and picks a color when the user clicks any spot on the screen.

SOFTWARE/OS VERSIONS
Operating System: Artix Linux
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Kernel Version: 5.17.15-hardened1-1-hardened (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION - WORKAROUND
The standalone Color Picker applet works just fine, so I used it to pick a color from my screen, then pasted the hex code into the Color dialog in System Settings, and changed my accent color in that way.
Comment 1 olivercrothers77 2022-06-20 18:16:44 UTC
Same exact thing on Manjaro Linux. 

Operating System: Manjaro Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.15.48-1-MANJARO (64-bit)
Graphics Platform: Wayland
Comment 2 Paul Worrall 2022-06-21 12:53:06 UTC

*** This bug has been marked as a duplicate of bug 415927 ***