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.2k stars 163 forks source link

DBUS not connecting upon startup? #485

Open karolyi opened 1 year ago

karolyi commented 1 year ago

Hey,

thanks for this great extension, I make use of it to have the Qt based stuff show up in my upper bar.

With the latest manjaro update, it started behaving in a weird way. Upon startup, where I autostart my applications from Gnome, it seems it has an error connecting to dbus and showing notifications and icons properly.

A quick rundown on my versions: appindicator: v57 gnome-session v45 X11 environment.

I've made a couple screenshot to demonstrate what happens: KeepassXC messages not showing as gnome notifications on startup: image image

Icons not following dark/light theme changes: image

Menus for the application icons are displaced as well: image

When I restart all the programs that have this weird behavior after startup, they start to work right again.

I've also went to the logs to see if there is any error upon startup, lo and behold:

Nov 11 11:21:41 karolyi-desktop appindicatorsupport@rgcjonas.gmail.com[1724]: Could not get menu properties menu proxy: Gio.IOErrorEnum: Timeout was reached
Nov 11 11:21:41 karolyi-desktop gnome-shell[1724]: JS ERROR: Gio.IOErrorEnum: Timeout was reached
                                                   _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
                                                   @resource:///org/gnome/shell/ui/init.js:21:20
                                                   ### Promise created here: ###
                                                   getProperty@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/dbusProxy.js:89:33
                                                   refreshProperty@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:305:48
                                                   _refreshOwnProperties/<@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:191:32
                                                   _refreshOwnProperties@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:189:51
                                                   _onSignalAsync/refreshPropertiesPromises<@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:245:26
                                                   _onSignalAsync@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:244:50
                                                   async*_onSignal@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:203:14
                                                   _init/<@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/dbusProxy.js:40:43
                                                   @resource:///org/gnome/shell/ui/init.js:21:20
Nov 11 11:21:41 karolyi-desktop gnome-shell[1724]: JS ERROR: Gio.IOErrorEnum: Timeout was reached
                                                   _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
                                                   @resource:///org/gnome/shell/ui/init.js:21:20
                                                   ### Promise created here: ###
                                                   getProperty@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/dbusProxy.js:89:33
                                                   refreshProperty@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:305:48
                                                   _refreshOwnProperties/<@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:191:32
                                                   _refreshOwnProperties@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:189:51
                                                   _onSignalAsync/refreshPropertiesPromises<@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:245:26
                                                   _onSignalAsync@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:244:50
                                                   async*_onSignal@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/appIndicator.js:203:14
                                                   _init/<@file:///usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/dbusProxy.js:40:43

Hope this sheds a light on what could have gone wrong here.

karolyi commented 1 year ago

Since this issue happened when upgradig my Manjaro, I've opened a support topic there as well.

Update: This issue has escalated with today's update.

karolyi commented 11 months ago

Bump. I've updated to gnome-shell 45.2 in hopes of their recent fix would improve the situation, to no avail.

malchun commented 7 months ago

It seems like the only workaround for now is to downgrade from dbus-broker to dbus-deamon. https://archlinux.org/news/making-dbus-broker-our-default-d-bus-daemon/