Plain text previews and thumbnails are invisible on dark theme (white on white); please backport the fix

Bug #1901431 reported by Geekley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dolphin (Ubuntu)
New
Undecided
Unassigned

Bug Description

It seems like the fix is available for KDE Applications >= 20.04.
See: https://bugs.kde.org/show_bug.cgi?id=406821
Can you please backport it to Kubuntu 20.04 LTS?

--- Related commits ---
https://phabricator.kde.org/D19432

https://phabricator.kde.org/D21295
https://invent.kde.org/frameworks/syntax-highlighting/commit/bbc465981bd55ca5449f5d22e972fccbe994e24f

https://phabricator.kde.org/D25891
https://invent.kde.org/network/kio-extras/commit/4ec12a850e258de49d2ed7103f82b468939164c1

--- Versions ---
Dolphin 19.12.3
Linux (x86_64) release 5.4.0-52-generic
Qt 5.12.8
KDE Plasma 5.18.5, KDE Frameworks 5.68.0
Plasma Color Scheme: Breeze Dark

-- From KDE Bug Report [+ my additions] ---
SUMMARY
When using a dark UI color theme, with the default syntax highlighting theme for LightTheme those text regions which would be rendered using "Normal" textstyle appear invisible against bright backgrounds.

STEPS TO REPRODUCE
1. Use Plasma, switch to dark color theme "Breeze Dark"
2. In Dolphin, enable preview of "Text Files" (needs KA 19.04)
3. Navigate to folder with text files, e.g. a dir with C++ sources [and .txt files]
4. Enable "Preview" for folder, also trigger tooltips & info docker

OBSERVED RESULT
Rendered text misses out large parts of text to render.
[and plain text files (any file with no highlighting) are invisible: white FG on white BG]

EXPECTED RESULT
All text is properly rendered in some sane colors against the bright background
[or in proper color against dark BG as per the selected theme]

Tags: backport
Geekley (geekley)
tags: added: backport
Revision history for this message
Geekley (geekley) wrote (last edit ):

I upgraded to Kubuntu 20.10, but oddly I'm still getting this bug.
https://bugs.kde.org/show_bug.cgi?id=406821#c17

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.