vkrizan / NotificationCounter

Gnome Extension: Shows number of notifications in queue
GNU General Public License v2.0
9 stars 4 forks source link

Gnome 42 support. #7

Closed cesaric closed 2 years ago

cesaric commented 2 years ago

Update metadata.json to support gnome 42.

vkrizan commented 2 years ago

Thanks, I'll look at it.

vkrizan commented 2 years ago

It seems that Gnome 42 changed some of the elements. Thins needs further investigation.

Apr 29 17:21:29 fedora gnome-shell[4820]: Object .Gjs_ui_messageTray_Notification (0x5610cf2fa4e0), has been already disposed — impossible to emit any signal on it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
Apr 29 17:21:29 fedora gnome-shell[4820]: == Stack trace for context 0x5610cc1f4620 ==
Apr 29 17:21:29 fedora gnome-shell[4820]: #0   5610ccda5748 i   resource:///org/gnome/shell/ui/messageTray.js:493 (13f1ba154830 @ 69)
Apr 29 17:21:29 fedora gnome-shell[4820]: #1   5610ccda56a0 i   resource:///org/gnome/shell/ui/messageTray.js:489 (13f1ba1547e0 @ 56)
Apr 29 17:21:29 fedora gnome-shell[4820]: #2   5610ccda5618 i   resource:///org/gnome/shell/ui/calendar.js:784 (13f1ba159970 @ 22)
Apr 29 17:21:29 fedora gnome-shell[4820]: == Stack trace for context 0x5610cc1f4620 ==
Apr 29 17:21:29 fedora gnome-shell[4820]: #0   5610ccda5748 i   resource:///org/gnome/shell/ui/messageTray.js:494 (13f1ba154830 @ 84)
Apr 29 17:21:29 fedora gnome-shell[4820]: #1   5610ccda56a0 i   resource:///org/gnome/shell/ui/messageTray.js:489 (13f1ba1547e0 @ 56)
Apr 29 17:21:29 fedora gnome-shell[4820]: #2   5610ccda5618 i   resource:///org/gnome/shell/ui/calendar.js:784 (13f1ba159970 @ 22)
Apr 29 17:21:29 fedora gnome-shell[4820]: Object .Gjs_ui_messageTray_Notification (0x5610cf2fa4e0), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
vkrizan commented 2 years ago

The above seems to be a Gnome issue not the extension one.