Closed MisterGuinness closed 3 months ago
$ gnome-shell --version
GNOME Shell 46.1
This is one is a bit odd:
gnome-shell[22399]: Extension Sensors@MisterGuinness: TypeError: this.add_actor is not a function
Stack trace:
_init@file:///home/mrg/.local/share/gnome-shell/extensions/Sensors@MisterGuinness/extension.js:70:14
...
I vaguely recall fixing these long ago.
Oh, it is a real change in 46, documented here:
https://gjs.guide/extensions/upgrading/gnome-shell-46.html#gjs
Clutter.Container.add_actor() and Clutter.Container.remove_actor() are deprecated and you should use Clutter.Actor.add_child() and Clutter.Actor.remove_child() instead.
I back ported those changes to F37 and they work there, which is really weird.
Also got the same error in the menu item, so changed "add" to "add_child". And an "unhandled promise rejection" calling querySensors, which I suppose is because it is async and therefore returns a promise, so there needs to be a catch somewhere. I'm assuming the error is because a possible rejection isn't caught anywhere. One day I hope to understand this better. Don't hold your breath though.
I was away, so missed the beta testing window, darn it.