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

--- Comment #4 from linx.system....@gmail.com ---
(In reply to Nate Graham from comment #3)
> Yep, I was beginning to suspect that too. Good programmer or no, you found
> the issue which is 90% of the battle! Please feel free to submit a merge
> request for it at https://invent.kde.org/frameworks/kio/-/merge_requests.

I need help with this, I'm afraid my knowledge is not enough to fix bug. I
tried to remove this code from line 175:

 && (opt.state & QStyle::State_Active)

But it introduces new issue.
There are 2 possible scenarios depending of "Use different colors for inactive
selection" checkbox is on or off:
1) Checkbox is off. If "QStyle::State_Selected" then selection text color
should be used from "opt.palette.highlightedText().color()" 
2) Checkbox is on. This is how it currently works. If "(opt.state &
QStyle::State_Selected) && (opt.state & QStyle::State_Active)" then selection
text color should be used from "opt.palette.highlightedText().color()". Else
"opt.palette.text().color()" 

We need to somehow check if that checkbox on or off.

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

Reply via email to