On Wed, Apr 11, 2018 at 12:34:54PM -0400, Frédéric Brière wrote:
> Quick followup: I've seen the same thing happen with another KDE
> application (KAddressBook), so this is most likely not specific to
> Choqok after all.
I take that back: this is quite possibly a Choqok bug after all.
The problem is that no icon theme is set within Choqok, and
QIcon::themeName() always returns "hicolor", the default fallback.
Hence, Choqok can find its own icons, but not those provided by the
current theme.
I tried selecting every available theme with XFCE, and while many GTK+
applications reacted appropriately, I couldn't get Choqok to take notice
of this. (For that matter, pretty much every Qt application seems to
ship its own icons and ignore the current theme.)
Not that it would do much good, though: Choqok is specifically designed
for the Oxygen (KDE 4) theme, and uses many icons (such as "configure",
surprisingly enough) only present within that theme. (Technically, they
are also present in Breeze, but the colors scheme makes some of them
hard to discern.)
Adding a simple QIcon::setThemeName(QStringLiteral("oxygen")) did the
trick for me. I don't know if this is the proper solution, but it
certainly works. (Of course, in that case, a dependency on
oxygen-icon-theme would also be required.)