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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/syst |https://invent.kde.org/syst
                   |em/dolphin/-/commit/b5facb8 |em/dolphin/-/commit/c8c14e6
                   |ed6bff9b5915d6efccdb047b97b |5aa4e652a12568ebbc14724346c
                   |989754                      |9915c3

--- Comment #4 from Méven <[email protected]> ---
Git commit c8c14e65aa4e652a12568ebbc14724346c9915c3 by Méven Car.
Committed on 05/10/2026 at 07:23.
Pushed by meven into branch 'release/26.08'.

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.


(cherry picked from commit b5facb8ed6bff9b5915d6efccdb047b97b989754)

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

Co-authored-by: Filip Fila <[email protected]>

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

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

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

Reply via email to