Bug 397889

Summary: Can not pick exact color when blend-slider <> 100%
Product: [Applications] krita Reporter: tom.w.p.vanlerberghe
Component: Color SelectorsAssignee: Emmet O'Neill <emmetoneill.pdx>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: halla
Priority: NOR Keywords: triaged
Version First Reported In: 4.1.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tom.w.p.vanlerberghe 2018-08-26 14:00:45 UTC
When the blend option in the tool-option menu of the color selector tool is different than 100%, then I'm not able to pick an exact color on the screen, even after clicking with the color selecting tool multiple times or moving around with it. This could perhaps be caused by a rounding mistake.

Suggestion: it would be handy to have a shortcut to set the blend-option of the color selector temporary to 100%.
Comment 1 Halla Rempt 2018-08-26 14:03:01 UTC
Emmet, this your feature -- can you take a look?
Comment 2 Emmet O'Neill 2018-10-09 14:33:12 UTC
Hello Tom,

You're absolutely right. I think this a result of the way that the color picker's blending feature is designed; since it's interpolating based on a percentage, without any rounding at all, your current color can only approach some point that is infinitely close to the canvas color that you're picking from. 

What actually happens is that the color seems to round either up or down to the nearest color based on your blend percentage. If your blend setting is >50% it should "round up" to match the same color as your canvas, but if your blend setting is <50% it "rounds down" to a color that is just adjacent to the sampled color. 

On top of that, because tablets are a bit sensitive, it's usually more comfortable to use a <50% blend setting while painting, which means artists tend to run into this limitation of the current design quite a bit. Of course, a little bit of color variation can certainly bring some life into a painting, but this does mean that you have to fiddle a bit with the slider values in order to match colors exactly, which is a bit annoying when that's what you want to do.

Having a shortcut which allows for temporarily bypassing things like blending and radius settings is a good idea (in fact the color picker side of the code already has a "pure" parameter which would allow for that).
Comment 3 Halla Rempt 2018-10-09 14:48:07 UTC
Maybe we should set this to wish?
Comment 4 Andrew Crouthamel 2018-10-27 04:10:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-12 16:05:04 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!