-
Notifications
You must be signed in to change notification settings - Fork 608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install Gtk3 theme versioned #436
base: master
Are you sure you want to change the base?
Conversation
I see some problem with this:
I'd appreciate improvements to the build system, though. Maybe open an issue were we discuss the details? |
I planned a second patch to solve this.
|
This allows multiple Gtk versions to be installed and themed properly.
f36792b
to
a6b74fb
Compare
It seems I missed the notification that you updated this :D. Do you know if that gnome-tweak-tool patch will be backported to 3.16 and 3.18? I can't merge this until the patched tweak tool is available to distros, because I really don't want to break the theme selection. I thought about a slightly different approach:
This way gnome-tweak-tool will always recognize the theme and multi version support can still be disabled. I don't think we need to add the option to disable certain GTK 3 versions specifically. |
Or to make things even simpler, we could always install all GTK 3 versions and leave the rest as it is. It'll add less than 1MB to the installed size. |
I pushed it to the older branches; I imagine another 3.16 release is unlikely though I don't really know his release policy.
Seems reasonable for a short term solution until tweak tool catches up.
I don't think 3.14 should be installed in this situation, it could create a problem where it loads that version on a newer release. |
The loading part is entirely up to GTK itself. It'll only use gtk-3.0 if it doesn't find any newer versions (https://git.gnome.org/browse/gtk+/tree/gtk/gtkcssprovider.c#n2007) |
I know and that could lead to a poor UX. User upgrades gnome version and suddenly they are on the 3.14 version which looks broken. Falling back to Adwaita because there is no new version is a much clearer issue and leaves the applications usable. |
I'm not sure if I understand this correctly. |
Oh sorry it was me who misunderstood. |
I just had a user file a Gentoo bug report because of this. Could we please make it happen? |
@horst3180 GNOME Tweak Tool 3.20 fixed the issue and is now able to load versioned themes that don't contain a But, this issue can be workarounded by renaming/symlinking the lowest version |
@HEXcube Yeah, that's not a problem. I'll have to put the 3.14 theme into gtk-3.0 either way, because GTK 3.14 doesn't support multi version. |
@horst3180 Maybe keep a separate |
@HEXcube No reason to over-complicate it. |
This allows multiple Gtk versions to be installed and themed properly.
On a side note this manually calling
cp
to install everything is awful, would you mind me completely redoing all of that (and possibly moving around some files)?