D25891: fix preview of plain text files when using dark theme
Ilia Kats
noreply at phabricator.kde.org
Wed Dec 11 15:46:54 GMT 2019
iliakats created this revision.
Herald added projects: Dolphin, Frameworks.
Herald added subscribers: kfm-devel, kde-frameworks-devel.
iliakats requested review of this revision.
REVISION SUMMARY
When using a dark theme, plain text files without an associated highlighting theme are rendered in white on a white background (see also bugs 409380 and 406821). This patch forces a re-highlighting of the preview after the theme is set and before it is drawn into the preview area.
TEST PLAN
opened dolphin, checked several text files for correct preview colors
REPOSITORY
R320 KIO Extras
REVISION DETAIL
https://phabricator.kde.org/D25891
AFFECTED FILES
thumbnail/textcreator.cpp
To: iliakats
Cc: kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20191211/5e850d83/attachment.htm>
More information about the kfm-devel
mailing list