Skip to content
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

Update todaysFactsWidget.js for Gnome Shell 46 compatibility #368

Closed
wants to merge 1 commit into from

Conversation

piio
Copy link

@piio piio commented Apr 6, 2024

Additional change for Gnome 46

Additional change for Gnome 46
@piio piio mentioned this pull request Apr 6, 2024
@hedayat
Copy link
Member

hedayat commented Apr 7, 2024

Thank you for the PR.

Have you got errors from this line? This change was actually reverted in this commit: cc353e2

It was already part of PR #367, but reverted in the above commit. It is supposed to work fine on both Gnome 45 & 46.

I've not tested the final develop yet, so I cannot comment on it.

@mwilck

@hedayat hedayat requested a review from mwilck April 7, 2024 10:30
@hedayat
Copy link
Member

hedayat commented Apr 7, 2024

OK, I just tested the current develop branch and the extension exists immediately. Looks like at least in shell, add_actor is not supported even for ScrollView.

@hedayat hedayat mentioned this pull request Apr 7, 2024
@mwilck
Copy link
Contributor

mwilck commented Apr 8, 2024

OK, I just tested the current develop branch and the extension exists immediately. Looks like at least in shell, add_actor is not supported even for ScrollView.

Works fine here.

@mwilck
Copy link
Contributor

mwilck commented Apr 8, 2024

This change can't be applied, it breaks GNOME 45.

@mwilck
Copy link
Contributor

mwilck commented Apr 8, 2024

Please try this patch.

@mwilck
Copy link
Contributor

mwilck commented Apr 8, 2024

Which version of GNOME 46 and clutter are you guys using?

@hedayat
Copy link
Member

hedayat commented Apr 8, 2024

Which version of GNOME 46 and clutter are you guys using?

Well, the result is somewhat surprising:

% rpm -q gnome-shell clutter
gnome-shell-46.0-1.fc40.x86_64
package clutter is not installed

Well, no clutter is installed at all.

@hedayat
Copy link
Member

hedayat commented Apr 8, 2024

Please try this patch.

Can't test right now, but will let you know the results soon. I guess it will work though.

@mwilck
Copy link
Contributor

mwilck commented Apr 8, 2024

Well, no clutter is installed at all.

Same here, sorry. There's just "libclutter" and "libclutter-gst". I confess I don't know how these dependencies work.

@mwilck
Copy link
Contributor

mwilck commented Apr 8, 2024

Upstream has also suggested that we use the shell version check. If it works for you, I'll push it, even though I wanted to avoid this kind of thing at least for the first shell version bump after the largish changes for 45 :-/

@hedayat
Copy link
Member

hedayat commented Apr 8, 2024

Well, no clutter is installed at all.

Same here, sorry. There's just "libclutter" and "libclutter-gst". I confess I don't know how these dependencies work.

I do have these two on Fedora 39 (Gnome 45), but on Fedora 40 with Gnome 46, even these are not installed by default anymore. BTW, I don't know either :)

Upstream has also suggested that we use the shell version check. If it works for you, I'll push it, even though I wanted to avoid this kind of thing at least for the first shell version bump after the largish changes for 45 :-/

Sure, I'm now on another system with Gnome 45. I'll test it under Gnome 46 and let you know.

Yeah, we didn't expect another compatibility break so soon :D

@mwilck
Copy link
Contributor

mwilck commented Apr 9, 2024

@piio perhaps you could test with #362 (comment)?

Like @hedayat, I am pretty sure it will work. But I'd like to have a confirmation because the current version works for me, while it doesn't for you, it would be good to have this confirmed.

@hedayat
Copy link
Member

hedayat commented Apr 9, 2024

@piio perhaps you could test with #362 (comment)?

Like @hedayat, I am pretty sure it will work. But I'd like to have a confirmation because the current version works for me, while it doesn't for you, it would be good to have this confirmed.

OK, I tested and it works fine under Gnome 46.

@mwilck
Copy link
Contributor

mwilck commented Apr 9, 2024

Thanks. Pushed e3a4cb1 to develop now.

@mwilck mwilck closed this Apr 9, 2024
@piio
Copy link
Author

piio commented Apr 10, 2024

e3a4cb1 works correctly for me, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants