Bug 431221

Summary: The palette docker tooltip should show the RGB value in addition to the colour name
Product: [Applications] krita Reporter: Ahab Greybeard <ahab.greybeard>
Component: UsabilityAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: wishlist CC: halla
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mint (Debian based)   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ahab Greybeard 2021-01-06 11:47:12 UTC
SUMMARY
This Wishlist bug is following on from a discussion in this topic:
https://krita-artists.org/t/assistance-for-colour-blind-artists/15912

It is closely associated with a palette UI/UX bug report which I believe would need to be dealt with at the same time or before:
https://bugs.kde.org/show_bug.cgi?id=431220

DESCRIPTION
When the cursor is moved over a palette swatch, the tooltip shows the internal colour name of the swatch.
(Subject to the limitations described in the bug report noted above.)

It would be helpful, especially for users with colour perception problems, if the tooltip also showed the (R, G, B) value of the swatch colour.

One possibility would be as a second line of tooltip text.
Comment 1 Halla Rempt 2021-01-06 12:53:34 UTC
Hm, if my hunch that the string being the same causes the tooltip weirdness is correct, adding the channel values might actually fix the bug.
Comment 2 Halla Rempt 2021-01-06 13:00:54 UTC
Git commit 2c90be8d2ad8dbb345c0ed5d6afb196d69182cbb by Halla Rempt.
Committed on 06/01/2021 at 12:59.
Pushed by rempt into branch 'master'.

Add channel values to the palette swatch tooltip

With this change, I cannot reproduce the tooltips not moving
their position.
Related: bug 431220

M  +1    -1    libs/widgets/KisPaletteModel.cpp

https://invent.kde.org/graphics/krita/commit/2c90be8d2ad8dbb345c0ed5d6afb196d69182cbb
Comment 3 Halla Rempt 2021-01-06 13:01:31 UTC
Git commit b017ca6dc02007e8ef50f9ea9782d5f90a28e13b by Halla Rempt.
Committed on 06/01/2021 at 13:01.
Pushed by rempt into branch 'krita/4.3'.

Add channel values to the palette swatch tooltip

With this change, I cannot reproduce the tooltips not moving
their position.
Related: bug 431220
(cherry picked from commit 2c90be8d2ad8dbb345c0ed5d6afb196d69182cbb)

M  +1    -1    libs/widgets/KisPaletteModel.cpp

https://invent.kde.org/graphics/krita/commit/b017ca6dc02007e8ef50f9ea9782d5f90a28e13b
Comment 4 Halla Rempt 2021-01-09 09:46:25 UTC
Git commit 011cf6195b82d6e198742c2122578a79dbc57eea by Halla Rempt.
Committed on 06/01/2021 at 13:01.
Pushed by rempt into branch 'krita/4.4.2'.

Add channel values to the palette swatch tooltip

With this change, I cannot reproduce the tooltips not moving
their position.
Related: bug 431220
(cherry picked from commit 2c90be8d2ad8dbb345c0ed5d6afb196d69182cbb)

M  +1    -1    libs/widgets/KisPaletteModel.cpp

https://invent.kde.org/graphics/krita/commit/011cf6195b82d6e198742c2122578a79dbc57eea