https://bugs.kde.org/show_bug.cgi?id=445276

Halla Rempt <ha...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |NEEDSINFO
         Resolution|---                         |WAITINGFORINFO

--- Comment #1 from Halla Rempt <ha...@valdyas.org> ---
It would be better to build without so many packages disabled... You're
definitely going to run into trouble. I suspect that this patch will fix the
issue, but I am not going to create a build like yours to test this out:

diff --git a/libs/widgets/KisVisualColorSelector.cpp
b/libs/widgets/KisVisualColorSelector.cpp
index 8cb62bc2fb..c2f5c5689d 100644
--- a/libs/widgets/KisVisualColorSelector.cpp
+++ b/libs/widgets/KisVisualColorSelector.cpp
@@ -94,8 +94,9 @@ void KisVisualColorSelector::slotSetColorSpace(const
KoColorSpace *cs)
         const KoColorSpace *csNew = cs;

         // PQ color space is not very suitable for selecting colors,
substitute with linear one
-        if (cs->colorModelId() == RGBAColorModelID &&
-            cs->profile()->uniqueId() ==
KoColorSpaceRegistry::instance()->p2020PQProfile()->uniqueId()) {
+        if (cs->colorModelId() == RGBAColorModelID
+                && KoColorSpaceRegistry::instance()->p2020PQProfile() &&
+                cs->profile()->uniqueId() ==
KoColorSpaceRegistry::instance()->p2020PQProfile()->uniqueId()) {

             csNew = KoColorSpaceRegistry::instance()->
                     colorSpace(RGBAColorModelID.id(),
Float32BitsColorDepthID.id(),

Please check whether this works.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to