Bug 509550 - Color sampler tool does not select the correct color, switches to a darker or lighter shade
Summary: Color sampler tool does not select the correct color, switches to a darker or...
Status: RESOLVED NOT A BUG
Alias: None
Product: krita
Classification: Applications
Component: Color Selectors (other bugs)
Version First Reported In: 5.2.12
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-16 08:13 UTC by Jahzeel
Modified: 2025-09-18 04:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
attachment-2918574-0.html (2.67 KB, text/html)
2025-09-16 20:54 UTC, Jahzeel
Details
attachment-3307902-0.html (1.83 KB, text/html)
2025-09-18 00:18 UTC, Jahzeel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jahzeel 2025-09-16 08:13:31 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Color sampler tool does not select the correct color, switches to a darker or lighter shade

STEPS TO REPRODUCE
1. Put 2 different colors together on the canvas
2. Use a blender brush and try to pick the new shade they create.
3. Use "Control+z" and try it like 10 times

OBSERVED RESULT
Color sampler tool picks up a different shade than the one selected.

EXPECTED RESULT
Color sampler tool picks the exact same color as the one selected.

SOFTWARE/OS VERSIONS
Windows: 11 or more recent
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
It also happens with no background, not as often, but it still does.
Comment 1 Vitamorus 2025-09-16 16:29:40 UTC
Hello Jahzeel

I am not able to reproduce the bug on my end, so I'd like to ask a few more questions to see if the problem can't be tracked down further.

Does this happen even on a completely new document with only one layer, or is it happening in a specific document?
Is your Color Sampler tool set to pick from all layer or just the current?
Is the Color Sampler tool's Radius anything higher than 1px or is the Blend less than 100%?

If you could attach a demonstration of the bug (a few screenshots or maybe even a video) that might also be very useful.
Comment 2 Jahzeel 2025-09-16 20:54:45 UTC
Created attachment 184983 [details]
attachment-2918574-0.html

Hi!! Thank you very much. Yeah it happens irregularly. I attach 2 videos,
one with already existing archives, the other with a new document. As for
the settings of the sampler tool, I don't know how to change that so it's
on the default mode I guess. I was one day working on a illustration, the
one with the strawberries and suddenly it started happening as you will see
on the video. I tried to sample a color from the reference and it gave me
the wrong one, I assumed it was just a bug or that krita didn't have that
color or something, but then it started happening again and again, on any
document I oppen, be it new or older ones. I'm very special about the
specific colors so it bugs me to no end.
 Fallo Krita
<https://utmedu-my.sharepoint.com/:f:/g/personal/al02941587_tecmilenio_mx/EnreHo3c0YhHnmBdd2A6IJIBWMEnn7RdfbwEv3WcYBUM0A?e=KcjzJ5>

El mar, 16 sept 2025 a las 10:29, Vitamorus (<bugzilla_noreply@kde.org>)
escribió:

> https://bugs.kde.org/show_bug.cgi?id=509550
>
> Vitamorus <vitamorus.art@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |NEEDSINFO
>          Resolution|---                         |WAITINGFORINFO
>
> --- Comment #1 from Vitamorus <vitamorus.art@gmail.com> ---
> Hello Jahzeel
>
> I am not able to reproduce the bug on my end, so I'd like to ask a few more
> questions to see if the problem can't be tracked down further.
>
> Does this happen even on a completely new document with only one layer, or
> is
> it happening in a specific document?
> Is your Color Sampler tool set to pick from all layer or just the current?
> Is the Color Sampler tool's Radius anything higher than 1px or is the Blend
> less than 100%?
>
> If you could attach a demonstration of the bug (a few screenshots or maybe
> even
> a video) that might also be very useful.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Bug Janitor Service 2025-09-17 03:48:37 UTC
🐛🧹 Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.
Comment 4 Vitamorus 2025-09-17 06:57:33 UTC
Thank you, those videos demonstrate the issue very nicely.

You'll find the Tool Options docker by clicking the tab in the top right corner of your window that says "Opciones de la ...". 

If you select the Color Sampler tool in the toolbox on the left (by clicking the eyedropper icon) it should show the settings for the color sampler. Could you check that the two sliders are set to 1px and 100%, like in the image here https://docs.krita.org/en/reference_manual/tools/color_sampler.html ?

The Radius setting will pick up all the colors from a larger area and produce a mix of them, and the Blend setting mixes the color you sample with the color you have already selected. I just wanna make sure you haven't changed those unintentionally and is what causes the unexpected color :)
Comment 5 Jahzeel 2025-09-18 00:18:08 UTC
Created attachment 185030 [details]
attachment-3307902-0.html

Thank you very much!!!
I don't know when that moved but it was on 10 pixels. THANK YOU!!! Sorry
for the inconvenience.

El mié, 17 sept 2025 a las 0:57, Vitamorus (<bugzilla_noreply@kde.org>)
escribió:

> https://bugs.kde.org/show_bug.cgi?id=509550
>
> --- Comment #4 from Vitamorus <vitamorus.art@gmail.com> ---
> Thank you, those videos demonstrate the issue very nicely.
>
> You'll find the Tool Options docker by clicking the tab in the top right
> corner
> of your window that says "Opciones de la ...".
>
> If you select the Color Sampler tool in the toolbox on the left (by
> clicking
> the eyedropper icon) it should show the settings for the color sampler.
> Could
> you check that the two sliders are set to 1px and 100%, like in the image
> here
> https://docs.krita.org/en/reference_manual/tools/color_sampler.html ?
>
> The Radius setting will pick up all the colors from a larger area and
> produce a
> mix of them, and the Blend setting mixes the color you sample with the
> color
> you have already selected. I just wanna make sure you haven't changed those
> unintentionally and is what causes the unexpected color :)
>
> --
> You are receiving this mail because:
> You reported the bug.