Bug 466867

Summary: Color picker gets wrong color when "Dim Inactive" effect is enabled
Product: [Applications] kcolorchooser Reporter: Murz <MurzNN>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Murz 2023-03-05 07:08:08 UTC
SUMMARY
***
I have the "Dim Inactive" effect enabled, which dims inactive windows. But when I try to get a color via the "Color Picker" plasma widget, it grabs the "active" status to the widget window, as the result it gets the wrong color (darker) from other windows, because they are dimmed.
***

A solution can be temporarily disabling the  "Dim Inactive" effect when the "Pick color" function is active.

STEPS TO REPRODUCE
1. Enable the "Dim Inactive" effect in System Settings
2. Open the "Color Picker" widget from the applications launcher. It will open a new window with itself.
3. Try to capture a color in another window.

OBSERVED RESULT
A captured color will be wrong, darker than the original.

EXPECTED RESULT
A captured color should be the same.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 22.10
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.6
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 30.9 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: HP
Product Name: HP EliteBook 850 G8 Notebook PC

ADDITIONAL INFORMATION
Comment 1 Murz 2023-10-13 11:58:18 UTC
A workaround for this issue is to configure a keyboard shortcut in the widget settings, and use it. But the proper fix will be welcome.