GTK applications using dark variant by default, uses light variant if Adwaita theme is not set by default
Alexander Larsson
alexl at redhat.com
Mon Oct 3 08:27:08 UTC 2016
On sön, 2016-10-02 at 00:35 -0300, Bastián Díaz wrote:
> Hello, I have noticed this problem only in distributed applications
> as
> Flatpak and wanted to know if it is a known problem, and that in the
> future even Flatpak applications could use the theme set by the user
> instead of using only Adwaita.
>
> In short, only when using Adwaita default theme, the Flatpak GTK
> applications that prefer the dark variant use this version, otherwise
> if
> user use any other theme, the light variant is shown. The problem
> with
> this is that a somewhat strange mix shown on many occasions. For
> example:
>
> https://cloud.woelkli.com/index.php/s/4QHuxzYAib3wjTV
>
> (Tested in Fedora 24 64 bit: Gnome, XFCE and Budgie)
>
> Related bug: https://phabricator.freedesktop.org/T7490
>
I think the issue is that the gnome runtime ships adwaita (light +
dark), but doesn't ship other themes. If you're using a different theme
and it is installed in /usr on the host, then it wouldn't be visible to
the app.
However, it should work if you install the theme in the users home-
directory (and the app has access to that).
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's a genetically engineered skateboarding inventor with a winning smile
and a way with the ladies. She's a manipulative blonde lawyer with an
evil twin sister. They fight crime!
More information about the xdg-app
mailing list