-
Notifications
You must be signed in to change notification settings - Fork 114
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
Support gnome 3.32 #76
Conversation
Any chance this Pull Request can be approved? I have argos scripts that have stopped working. |
@philgood Any example? |
I run a cpu load script using ps and stopped running every 5s. I cloned your fork and is now working well. Thank you @ccat3z |
This fork fixes everything I've tested except base64 icons. Thanks! |
Thanks for looking into this! Two questions:
|
Locally I've set it to 1.0 and I've got my b64 icons back for now, but I'm not sure what the proper solution for this is. |
Lang.Class classes extends GObject still work well. These class use a metaclass. For more detail:
for api change of st_texture_cache_load_gicon maybe not work before 3.32 |
I can confirm that it works in Gnome 3.32. Good job 👍 |
I can confirm this fixed my issues with having nested menus. It did actually also fix my base64 encoded images as well. While some display issues exist, I think this PR overall fixes the issues with menus break. Nice work @ccat3z |
Thanks to everyone who has tested this and confirmed it works. Unfortunately, this PR breaks compatibility with all GNOME releases except 3.32, so it cannot be merged in its current form. We need a solution that works for 3.32 while maintaining compatibility with a reasonable number of older versions. A year ago there were still quite a few people on GNOME 3.14, but supporting only 3.20 and newer would probably be fine. |
Sure, this breaks backwards compatibility. What about starting separate (github) branch/tag and uploading it as new extension ('argos2' for example) to extensions.gnome.org so users can easily pick their desired extension version? |
I'm not sure what the 'Shell Version' Dropdown does on the extensions listing, but is that something you could use to deliver a different version of the package depending on what Shell Version the user is on? |
To be clear, there will not be an "argos2" (or similar) secondary extension for 3.32, as that would create a maintenance nightmare and be bound to introduce confusion for users. So there are two options:
Nothing in the (sparse) documentation provided by GNOME clearly indicates that option 2 is possible, though I would love to be proven wrong here. The main issue is that for now, the userbase of GNOME versions other than 3.32 still dwarfs that of 3.32 itself. Therefore, any change that degrades the experience of pre-3.32 users in any way is an automatic non-starter. |
Maybe @micheleg (developer of Dash to Dock) has an idea how the |
Indeed, this is what other extension authors seem to be doing as well, so this is good to go. I have merged the PR and submitted an update to extensions.gnome.org. Thanks again to everyone who helped test this, and of course most of all to @ccat3z for submitting this PR! |
Gnome 3.32 doesn't support Lang.Class anymore. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/361