Bug 440073 - The K/L Darken/Lighten keys give very large changes for some colours
Summary: The K/L Darken/Lighten keys give very large changes for some colours
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Color models (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-20 14:15 UTC by Ahab Greybeard
Modified: 2021-12-14 20:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahab Greybeard 2021-07-20 14:15:14 UTC
SUMMARY
Tested with 4.3.0, 4.5.0 and the July 19 5.0.0-prealpha (git c81ba5b) appimages.
This was first reported by a user here:
https://krita-artists.org/t/help-shortcut-k-seems-to-be-going-outside-color-selection/26411

For high lightness with low saturation colours, the K/L keys give 'reasonable' steps for colours that are close to red on the colour wheel.
For colours that are far from red, e.g. green, cyan, the initial K step is very large.
There is also a notable Hue shift in these cases.

This is seen with the Advanced Colour Selector and the Specific Colour Selector for all HSx models.
I used the default 8-bit RGBA image profile.

NOTE: Because of https://bugs.kde.org/show_bug.cgi?id=422045 , the cursor must be positioned outside of the Advanced Color Selector when pressing the K/L keys in order to see this as it happens.

STEPS TO REPRODUCE
1. Using the Advanced Colour Selector, select a 'pure red' Hue and then a position on the bottom edge of the triangle close to the lower left corner. i.e a pale pink colour.
Note: The square selector shape can be instead and any HSx model can be used.
2. Press the K key to Darken the colour.
3. Press the L key to Lighten the colour back to where it started
4. Choose a hue that is green/cyan and press the K key to Darken it.
5. Press the L key to Lighten it back to where it started.
6. Optionally choose other colours around the Hue wheel, with high Lightness and low Saturation and do the same thing with them.

OBSERVED RESULT
2. The darkening is quite small and 'reasonable' and additional K actions give small changes.
4. The darken step is very large and there is a significant change in the Hue position.
6. The further away from red that an initial Hue setting is, the larger the step and the more the Hue shift is.

EXPECTED RESULT
The K/L steps should be similar for all hues and be 'reasonable'.

SOFTWARE/OS VERSIONS
Krita

 Version: 5.0.0-prealpha (git c81ba5b)
 Languages: en_GB, en, en, en_GB, en
 Hidpi: false

Qt

  Version (compiled): 5.12.11
  Version (loaded): 5.12.11

OS Information

  Build ABI: x86_64-little_endian-lp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: linux
  Kernel Version: 4.19.0-17-amd64
  Pretty Productname: Debian GNU/Linux 10 (buster)
  Product Type: debian
  Product Version: 10
  Desktop: MATE
Comment 1 Will Stephenson 2021-12-14 20:57:34 UTC
Confirmed with b00b0063