Summary: | Color swatch buttons do not return accurate values | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | diefifans <delgado.one> |
Component: | Color Selectors | Assignee: | vanyossi <ghevan> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | ghevan |
Priority: | NOR | ||
Version: | 4.1.7 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/2ea5cde18b65d2b7b7c743d7abb0cb254519e4e1 | Version Fixed In: | |
Sentry Crash Report: |
Description
diefifans
2019-05-23 20:17:10 UTC
I can confirm this happens. the color si selected correctly, as its perceptually identical. but after clicking ok, the color changes from the original color. Once the color has shifted, opening the color selector again an pressing ok will shift the color even further. tested on master The bug fixed and awating revision https://invent.kde.org/kde/krita/merge_requests/52 Git commit c7d2b22c437919c0c907fd1c6105f9c03a6ce806 by Ivan Yossi. Committed on 04/07/2019 at 17:37. Pushed by ivany into branch 'master'. Use loaded color colorSpace for QColor transformations toQColor uses current Color colorSpace to convert which avoids the color discrepancy after hitting ok on nativeDialog in macOS. M +8 -0 libs/ui/widgets/KoDualColorButton.cpp https://invent.kde.org/kde/krita/commit/c7d2b22c437919c0c907fd1c6105f9c03a6ce806 Git commit 2ea5cde18b65d2b7b7c743d7abb0cb254519e4e1 by Boudewijn Rempt, on behalf of Ivan Yossi. Committed on 08/07/2019 at 14:59. Pushed by rempt into branch 'krita/4.2'. Use loaded color colorSpace for QColor transformations toQColor uses current Color colorSpace to convert which avoids the color discrepancy after hitting ok on nativeDialog in macOS. M +8 -0 libs/ui/widgets/KoDualColorButton.cpp https://invent.kde.org/kde/krita/commit/2ea5cde18b65d2b7b7c743d7abb0cb254519e4e1 |