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

--- Comment #2 from Lynx3d <lynx.mw+...@gmail.com> ---
I just tried the proxy style idea, but that can only solve part of the issue.
The QLineEdit clear button and the top buttons of the file dialog can be
overridden, but that's really more a way to provide icons the style engine
itself requests, what icons really get queried differs between styles on things
like QMdiArea elements.

On Linux the icons for files (mime types) and folders come from the system icon
theme, so you still have black folder icons on dark grey ground etc.
Since you seem to be using Breeze icons, what can be done with a few lines of
code is switching breeze and breeze-dark icon themes if we load a color theme,
at least on Ubuntu they are bundled in the same package.
We could also include them in Krita, but they'd have to be organized according
to freedesktop spec for QIcon routines to find them.

But then we have one more thing that doesn't fully update on color theme
changes until you restart krita, I couldn't find a way to make existing
QLineEdit to reload the icons yet...
And if the user doesn't want to use the a fixed icon theme like Breeze, we
can't really help it.

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

Reply via email to