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

Akseli Lahtinen <akse...@akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |6.3
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-workspace/-/commi
                   |                            |t/4329b16a96a47c310e2d2a5da
                   |                            |6f7543f94b6d3ec
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 4329b16a96a47c310e2d2a5da6f7543f94b6d3ec by Akseli Lahtinen.
Committed on 05/05/2025 at 12:31.
Pushed by akselmo into branch 'master'.

colorsapplicator: Don't allow extended RGB from OKLabToLinearSRGB

When reading the rgb values in OKLabToLinearSRGB, there is a chance,
when colors are tinted, for QColor::fromRgbF to return Extended RGB
colors, which can invert.
Read more at
https://doc.qt.io/qt-6/qcolor.html#the-extended-rgb-color-model

Instead, just make sure we always return regular RGB values.
FIXED-IN: 6.3

M  +1    -1    kcms/colors/colorsapplicator.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/4329b16a96a47c310e2d2a5da6f7543f94b6d3ec

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

Reply via email to