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

Trent M <twilightinz...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |twilightinz...@gmail.com

--- Comment #3 from Trent M <twilightinz...@gmail.com> ---
(In reply to Nate Graham from comment #1)
> The technology we use to re-color apps (hot-pluggable GTK modules) was
> removed by the GTK developers. We tried to talk to the GTK developers about
> this but did not get anywhere. They were quite adamantly opposed to our use
> case (dynamically re-coloring apps at runtime using theming) and did not
> seem to have any interest in working to support it again.
> 
> So we will have to find another way to do it, or else live with this feature
> being broken forever.  :(

Isn't the technology used to recolor GTK apps just a CSS file with a list of
color definitions used by the Breeze GTK theme, updated by kde-gtk-config on
color scheme change? There's no recoloring module in any GTK3 Flatpak app, yet
recoloring works just fine in those. You just have to restart GTK3 Flatpak apps
if you change color, and I thought the GTK module was just for *that*.

The *real* problem is that kde-gtk-config does absolutely nothing with regards
to GTK4 configuration at the moment, even though the GTK4 theme supports the
same set of colors as the GTK3 theme. At least, as far as I can tell, it does
absolutely nothing. Searching kded/configeditor.cpp in the source for "gtk-3.0"
gives plenty of hits, but absolutely nothing for "gtk-4.0". Quizzically, the
codebase seems to have a recent commit to not use options deprecated in GTK4,
but doesn't actually write any GTK4 files at all.

You can probably work around this problem by linking all of the
xdg-config/gtk-3.0 files into xdg-config/gtk-4.0.

>From here, it's just a hop and a skip to recoloring Adwaita applications if we
wanted to.

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

Reply via email to