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

--- Comment #1 from ocalhoun <7485...@gmail.com> ---
I've found the code responsible for this!

https://invent.kde.org/network/kio-extras/-/blob/master/thumbnail/textcreator.cpp
line 131: QColor bgColor = QColor ( 245, 245, 245 ); // light-grey background
This is where the background color is hard-coded.

The font color is probably coming from one of these two lines:
line 142: textDocument.setDefaultFont(font);
line 147 textDocument.setDefaultTextOption(textOption);

Since this seems to be an issue with the KIO repository, I'll see if I can make
a but report there instead ... or maybe even a pull request. You can close this
if you want to, unless you feel like trying to fix this bug from your end.

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

Reply via email to