After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733420 - Adwaita not installed
Adwaita not installed
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-07-19 20:32 UTC by Colin Guthrie
Modified: 2014-07-21 23:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colin Guthrie 2014-07-19 20:32:57 UTC
Hi,

Since the Adwaita move to GTK+ it is no longer installed in /usr/share/themes/Adwaita/gtk+3.0/

This means there is no way to select it in g-t-t and the assets+css are not available (it could be that the assets are compiled in - I'm not sure how this works - but without the actual folder if you select a different theme, it's impossible to switch back as it is not listed).

Simply copying the *.css and the assets folder to the correct location was sufficient for me. Perhaps if the resources are compiled in, just the gtk.css and the gtk-dark.css would be sufficient?
Comment 1 Matthias Clasen 2014-07-20 01:17:34 UTC
This should be fixed in the tweak tool. It can just assume that gtk3 adwaita is available.
Comment 2 Colin Guthrie 2014-07-20 10:55:03 UTC
Sounds reasonable. Perhaps other tools need similar fixes too? e.g. is there a GTK theme selector under e.g. KDE where I guess the gsetttings stuff doesn't kick in (I could be misunderstanding how this works tho')? Perhaps just installing the stub gtk.css + gtk-dark.css allows for everything to work without any other problems (I confirmed my guess above that these were enough as the other resources were baked into the binaries - although I'm sure you knew that!). It certainly "feels" more sensible while looking in the /usr/share/themes/Adwaita/ folder where there is a gtk-2.0 folder, but no gtk-3.0. Not that that is a great argument of course, but I guess what I mean is, do these files (or perhaps just the folder) form part of the "API" for enumerating what themes are available? If not, is there a standard API for that - or is the rule "look for the /usr/share/themes/*/gtk-3.0 folders and then the theme exists + Adwaita."?

It was interesting reading your blog post recently about the switch, as I never knew the name of the old default theme as I don't think it ever showed up in tweak tool either (tho' perhaps I'm mistaken - don't have an older install to hand now to compare!) I'm sure it was always blank for me in tweak tool and I was never able to change it for fear of not being able to go back!
Comment 3 Colin Guthrie 2014-07-21 18:26:34 UTC
Any comment on the above Matthias or is it not an issue?
Comment 4 Olav Vitters 2014-07-21 23:46:26 UTC
gnome-themes-standard 3.13.4 ships an empty Adwaita gtk.css file

https://git.gnome.org/browse/gnome-themes-standard/commit/?id=071bb551ee6781e4eb3270cd007fd7a5ee90f3d6
Comment 5 Colin Guthrie 2014-07-21 23:50:40 UTC
Ahh OK, thanks Olav! Seems odd to ship this in a separate package that is ultimately optional from a "pure gtk" perspective, but fair enough. I doubt it'll matter to anyway in practice.