gnome-shell-extension-appindicator icon indicating copy to clipboard operation
gnome-shell-extension-appindicator copied to clipboard

Extension does not work in Gnome 44

Open ralxxx opened this issue 1 year ago • 20 comments

The Extension does not work for me in Fedora 38 - i am unable to get tray icons appearing since using the extension within Gnome 44.

ralxxx avatar Apr 17 '23 08:04 ralxxx

Please provide journal logs or it's very hard to understand what's going on.

3v1n0 avatar Apr 17 '23 17:04 3v1n0

Same here, I installed the extension in Fedora 37 and it worked. But some icons are missing since I upgraded to Fedora 38.

sppfly avatar Apr 18 '23 12:04 sppfly

Here too

image

ghost avatar Apr 19 '23 15:04 ghost

It's unclear what icons should appear there, however if they were legacy tray icons then ensure that this commit is included in gnome-shell: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2684

3v1n0 avatar Apr 19 '23 16:04 3v1n0

Same thing with Slack too, using xorg

kaiserbrito avatar Apr 20 '23 11:04 kaiserbrito

Please provide logs... Otherwise I can't reproduce this, it works fine in Ubuntu and in JHBuild sessions I've been tested so far.

In case, export G_MESSAGES_DEBUG=AppIndicator-and-KStatusNotifierItem-Support so that gets picked by the shell, and that would cause more debugging bits to be written.

3v1n0 avatar Apr 20 '23 12:04 3v1n0

I also have errors in my journal and experience random crashes of Discord and Slack (both installed via flatpak) on Fedora 38, but I don't think this is related to the messages in the journal, yet. I've just enabled the G_MESSAGES_DEBUG setting, will provide more logs later when anything behaves fishy again.

This is was I got repeatedly nonetheless:

Apr 20 14:27:41 [redacted] [email protected][82075]: Using Brute-force mode for StatusNotifierItem :1.109@/StatusNotifierItem
Apr 20 14:27:41 [redacted] gnome-shell[82075]: Received property WindowId with type u does not match expected type i in the expected interface
Apr 20 14:27:41 [redacted] gnome-shell[82075]: Received property Menu with type s does not match expected type o in the expected interface
Apr 20 14:27:41 [redacted] gnome-shell[82075]: JS ERROR: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.Failed: error occurred in AboutToShow
                                               _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
                                               ### Promise created here: ###
                                               sendAboutToShow@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:501:48
                                               sendAboutToShow@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:197:22
                                               attachToMenu@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:864:24
                                               _updateMenu/this._menuReadyId<@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:326:38
                                               _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                               _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                               AppIndicatorsClient/<@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:835:24
                                               _updateLayoutState@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:365:18
                                               _layoutUpdateUpdateAsync@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:346:18
                                               async*_beginLayoutUpdate@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:326:14
                                               _requestLayoutUpdate@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:276:14
                                               initAsync@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:254:14
                                               async*AppIndicatorsClient@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:829:22
                                               _updateMenu@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:318:32
                                               _showIfReady@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:339:14
                                               _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                               _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                               _checkIfReady@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:476:18
                                               checkIfReadyChanged@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:658:50
                                               _onPropertiesChanged/<@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:666:17
                                               _onPropertiesChanged@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:662:15
Apr 20 14:27:41 [redacted] gnome-shell[82075]: JS ERROR: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.Failed: error occurred in AboutToShow
                                               _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
                                               ### Promise created here: ###
                                               sendAboutToShow@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:501:48
                                               sendAboutToShow@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:197:22
                                               attachToMenu@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:864:24
                                               _updateMenu/this._menuReadyId<@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:326:38
                                               _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                               _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                               AppIndicatorsClient/<@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:835:24
                                               _updateLayoutState@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:365:18
                                               _layoutUpdateUpdateAsync@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:346:18
                                               async*_beginLayoutUpdate@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:326:14
                                               _requestLayoutUpdate@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:276:14
                                               initAsync@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:254:14
                                               async*AppIndicatorsClient@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/dbusMenu.js:829:22
                                               _updateMenu@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:318:32
                                               _showIfReady@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:339:14
                                               _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                               _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                               _checkIfReady@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:476:18
                                               checkIfReadyChanged@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:658:50
                                               _onPropertiesChanged/<@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:666:17
                                               _onPropertiesChanged@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:662:15
Apr 20 14:27:45 [redacted] gnome-shell[82075]: JS ERROR: While initalizing proxy for :1.109@/StatusNotifierItem: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.dbus.exceptions.DBusExecutionException: Error Executing Method org.freedesktop.DBus.Properties.Get: null
                                               _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
                                               ### Promise created here: ###
                                               getProperty@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/util.js:553:33
                                               refreshProperty@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:316:48
                                               _checkNeededProperties/<@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:498:33
                                               _checkNeededProperties@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:497:66
                                               async*_setupProxy@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:445:24
                                               async*AppIndicatorsAppIndicator@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:429:14
                                               _registerItem@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:98:31
                                               introspectName@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:170:26
                                               async*_seekStatusNotifierItems/<@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:174:81
                                               _seekStatusNotifierItems@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:174:58
                                               async*AppIndicatorsStatusNotifierWatcher@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:68:14
                                               maybeEnableAfterNameAvailable@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/extension.js:54:33
                                               enable@/home/[redacted]/.local/share/gnome-shell/extensions/[email protected]/extension.js:60:5
                                               _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:196:38
                                               _onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:552:24
                                               _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:627:18
                                               createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46
                                               enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:223:29
                                               EnableExtension@resource:///org/gnome/shell/ui/shellDBus.js:447:38
                                               _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:329:38
                                               _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34

andreaskienast avatar Apr 20 '23 12:04 andreaskienast

@kaiserbrito this seems to be an issue within the Slack flatpak package: https://github.com/flathub/com.slack.Slack/issues/193

andreaskienast avatar Apr 21 '23 08:04 andreaskienast

@kaiserbrito this seems to be an issue within the Slack flatpak package: flathub/com.slack.Slack#193

I've just seen that too, thanks ;)

kaiserbrito avatar Apr 21 '23 08:04 kaiserbrito

@andreasfernandez, I tried that solution and worked perfectly. Thank you!

kaiserbrito avatar Apr 21 '23 20:04 kaiserbrito

I am also experiencing this issue (or variations thereof)

This is supposed to be Mullvad:

image

The three dots near it are supposed to be qbittorrent Flatpak, but I "fixed" it by installing from repo

x0wllaar avatar Apr 22 '23 04:04 x0wllaar

For mullvad see https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/429#issuecomment-1515040449

For qbitorrent, it's trickier, I'd like to see log output.

3v1n0 avatar Apr 22 '23 09:04 3v1n0

I think it is an issue with qbittorrent flatpak. The same 3 dots are displayed on the default install of Ubuntu. Mullvad works though, so I think the problem there is Fedora 38 not including the commit.

x0wllaar avatar Apr 23 '23 19:04 x0wllaar

The suggested fix for mullvad's client doesn't seem valid for me since I'm using wayland and not x11... I did find that the icon shows correctly after toggling this extension from "on" to "off" and back to "on" again; strange.

The mullvad github seems to suggest this may be related to electron's version, but I don't know enough about, well, anything to make an intelligent comment on that.

moore-bryan avatar Jun 30 '23 21:06 moore-bryan

Since upgrading to Fedora 38 with Gnome 44.2 I'm experiencing the "three dots" with some applications like nextcloud-client, too. With Fedora 37 everything worked fine. Not using flatpaks. Legacy tray icons and icons from gajim, vlc or signal are not affected.

philfry avatar Jul 14 '23 18:07 philfry

I find that when I toggle the AppIndicator and KStatusNotifierItem Support extension from "on" to "off" and back "on" again, the icons show correctly; can you check to see if that works for you?

If you don't use that particular extension, perhaps whichever one you are using for legacy icons?

moore-bryan avatar Jul 14 '23 18:07 moore-bryan

That was one of the first things I tried :D but alas, it didn't work.

Other extensions I use are

  • compiz windows effect 21
  • just perfection 24
  • caffeine 48
  • clipboard indicator (dunno which version)
  • dash to panel 55
  • places status indicator (unknown version)
  • window list (unknown version)

Even with all these extensions turned off I get the three dots.

philfry avatar Jul 14 '23 19:07 philfry

So, what do you use for legacy tray icons?

moore-bryan avatar Jul 14 '23 19:07 moore-bryan

This extension, I believe. At least the option is switched on (and disabling it has no effect on the three dots). I'm not sure which applications actually make use of legacy tray icons, I just presumed one of those I mentioned might be one of them. Sorry for the confusion. fwiw, here's another one that's working: liferea.

philfry avatar Jul 14 '23 19:07 philfry

Got it... Interesting. I wish I had the magic bullet for you.

moore-bryan avatar Jul 14 '23 19:07 moore-bryan