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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/b5facb8
                   |                            |ed6bff9b5915d6efccdb047b97b
                   |                            |989754
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Méven <[email protected]> ---
Git commit b5facb8ed6bff9b5915d6efccdb047b97b989754 by Méven Car, on behalf of
Filip Fila.
Committed on 24/09/2026 at 12:22.
Pushed by meven into branch 'master'.

kstandarditemlistwidget: Fix poorly legible selection text with certain styles
and color schemes

Selection effect theming was restored to QStyles in Dolphin 26.08. This exposed
an issue with text color changes that only work right with (styles like)
Breeze.

Unlike Breeze, which doesn't not draw a full-opacity selection effect on
selected, most other styles do. When we have a color scheme that uses a
highlightedText color different from the normal color, we get failure with text
legibility. A dark color scheme with a really bright highlight color needs dark
text on top. Dolphin will draw white text instead currently.

This is because we use 'highlightedText' color only on 'pressed'. With most
QStyles and with these specific color schemes, it should also use
'higlightedText' color on selected too.

Among the affected QStyles: Darkly, Fusion, Oxygen, MSWindows 9x.

To fix the issue this patch restores the use of highlightedText color to styles
on selected, but shield Breeze from it.

M  +6    -1    src/kitemviews/kstandarditemlistwidget.cpp
M  +8    -0    src/kitemviews/kstandarditemlistwidget.h

https://invent.kde.org/system/dolphin/-/commit/b5facb8ed6bff9b5915d6efccdb047b97b989754

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

Reply via email to