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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi
                   |t/4329b16a96a47c310e2d2a5da |t/32a7cf2a06e16d58cbb8c4a0a
                   |6f7543f94b6d3ec             |b08a0832fa377d4

--- Comment #5 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit 32a7cf2a06e16d58cbb8c4a0ab08a0832fa377d4 by Akseli Lahtinen.
Committed on 07/05/2025 at 09:53.
Pushed by ngraham into branch 'Plasma/6.3'.

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


(cherry picked from commit 4329b16a96a47c310e2d2a5da6f7543f94b6d3ec)

Co-authored-by: Akseli Lahtinen <akse...@akselmo.dev>

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

https://invent.kde.org/plasma/plasma-workspace/-/commit/32a7cf2a06e16d58cbb8c4a0ab08a0832fa377d4

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

Reply via email to