ubuntu / gnome-shell-extension-appindicator

Adds KStatusNotifierItem support to the Shell
https://extensions.gnome.org/extension/615/appindicator-support/
GNU General Public License v2.0
1.14k stars 157 forks source link

Extension crashes with TypeError: this._watchDog is null on Ubuntu 24.04 #531

Open prowlett opened 2 weeks ago

prowlett commented 2 weeks ago

In Ubuntu 24.04, I installed GNOME Shell integration extension on Firefox and chrome-gnome-shell through apt, then installed AppIndicator and KStatusNotifierItem Support.

It has appeared under User Extensions in the Extensions app with a toggle turned on.

After a few minutes of operation, I noticed the toggle has changed - it's still on, but greyed out and there is a cross in a circle next to the toggle and when I click this it says "An error has occurred in this extension" with the details TypeError: this._watchDog is null.

AsciiWolf commented 2 weeks ago

Is there any reason why are you not using the system "AppIndicator and KStatusNotifierItem Support" (gnome-shell-extension-appindicator) extension that should be enabled out-of-box on Ubuntu?

prowlett commented 2 weeks ago

@AsciiWolf Thank you for replying. I'm sorry, but I don't understand what you are asking me. Can you explain what you mean?

AsciiWolf commented 2 weeks ago

Sure. If you install a standard Ubuntu 24.04 desktop image, there is no need to manually install the AppIndicator extension because it is already installed as a part of the base (Ubuntu customized GNOME) system.

If you use some non-standard configuration (with stock GNOME etc.), you should install the gnome-shell-extension-appindicator package using Apt.

prowlett commented 2 weeks ago

Oh okay, thanks for explaining. I installed this in response to a suggestion to fix a problem I was having (a system tray app icon which didn't produce its menu when clicked. (I installed the extension and it didn't seem to want to turn on, but the menu now appears so I'm confused about what I did.) Anyway, because it gave weird results I thought I'd report it - happy for you to close the issue if it isn't needed (which it sounds like is the case).