elementary / wingpanel-indicator-sound

Wingpanel Sound Indicator
Other
34 stars 24 forks source link

Spotifyd MPRIS freezes Wingpanel #181

Open Eldhrimer opened 3 years ago

Eldhrimer commented 3 years ago

What Happened

When opening spotifyd with mpris enabled, wingpanel freezes completely (and also the rest of the wm, cant move nor select windows, only by alt-tabbing). If I play a song through spotifyd, or if I kill spotifyd, wingpanel resumes normal functions. Monitoring wingpanel through terminal while frozen doesn't output any lines of errors (literally none) but when a song is played, and normal function is restored, Critical gtk warnings are issued. See log for those errors. When opened without mpris this does not happen.

Expected Behavior

Opening spotifyd without playing a song should not interfere with the responsiveness of wingpanel

Steps to Reproduce

  1. Run spotifyd with mpris enabled
  2. Do not play any song
  3. Click in sound or any other indicator in wingpanel, the panel (and sometimes wm gala) is freezed
  4. Through some client start playing songs on spotify
  5. Wingpanel should start working again, without rebooting itself.

Logs

(wingpanel:5919): GLib-CRITICAL **: 16:45:36.091: g_hash_table_contains: assertion 'hash_table != NULL' failed

(wingpanel:5919): GLib-CRITICAL **: 16:45:36.091: g_hash_table_contains: assertion 'hash_table != NULL' failed

(wingpanel:5919): GLib-CRITICAL **: 16:45:36.091: g_hash_table_contains: assertion 'hash_table != NULL' failed

** (wingpanel:5919): CRITICAL **: 16:45:36.183: session_widgets_userbox_update_state: assertion 'self != NULL' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.225: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.225: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.225: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.226: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.226: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.226: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.227: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.230: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.230: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(wingpanel:5919): Gtk-CRITICAL **: 16:45:36.230: gtk_widget_get_allocation: assertion 'GTK_IS_WIDGET (widget)' failed

Platform Information

MentosMoziilla commented 3 years ago

Same happening with me too.

Jan 31 20:51:37 x gala.desktop[1486]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1c00003 (wingpanel)
Jan 31 20:51:37 x wingpanel[1505]: DBusService.vala:64: Service registration suceeded
Jan 31 20:51:38 x dbus-daemon[840]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.73' (uid=1000 pid=1955 comm="/usr/lib/x86_64-linux-gnu/io.elementary.wingpanel." label="unconfined")
Jan 31 20:51:45 x gala.desktop[1486]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2e00015 (io.element)
Jan 31 20:51:46 x PackageKit: get-packages transaction /366_cdadccee from uid 1000 finished with success after 783ms
Jan 31 20:51:50 x PackageKit: search-name transaction /367_aaadcbea from uid 1000 finished with success after 765ms
Jan 31 20:51:50 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:51:50 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:51:50 x nm-applet[1573]: Can't set a parent on widget which has a parent
Jan 31 20:51:50 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:51:50 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:51:50 x nm-applet[1573]: Can't set a parent on widget which has a parent
Jan 31 20:52:14 x PackageKit: refresh-cache transaction /368_baaaaabd from uid 1000 finished with cancelled after 24620ms
Jan 31 20:52:17 x PackageKit: search-name transaction /369_ebaaddcb from uid 1000 finished with success after 1987ms
Jan 31 20:52:17 x PackageKit: get-details transaction /370_bedcecda from uid 1000 finished with success after 416ms
Jan 31 20:52:18 x PackageKit: depends-on transaction /371_bcbacecd from uid 1000 finished with success after 416ms
Jan 31 20:52:18 x PackageKit: get-details transaction /372_aeaaaead from uid 1000 finished with success after 419ms
Jan 31 20:52:19 x PackageKit: search-name transaction /373_ccddeebc from uid 1000 finished with success after 457ms
Jan 31 20:52:19 x PackageKit: get-details transaction /374_eacbccea from uid 1000 finished with success after 420ms
Jan 31 20:52:20 x PackageKit: depends-on transaction /375_ebddeedd from uid 1000 finished with success after 419ms
Jan 31 20:52:20 x PackageKit: get-details transaction /376_dcdcccea from uid 1000 finished with success after 419ms
Jan 31 20:52:21 x PackageKit: search-name transaction /377_beacbdbd from uid 1000 finished with success after 452ms
Jan 31 20:52:21 x PackageKit: get-details transaction /378_dcbeaeaa from uid 1000 finished with success after 425ms
Jan 31 20:52:22 x PackageKit: get-packages transaction /379_cedadaeb from uid 1000 finished with success after 645ms
Jan 31 20:52:22 x PackageKit: get-updates transaction /380_acbcbbee from uid 1000 finished with success after 572ms
Jan 31 20:52:53 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:52:53 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:52:53 x nm-applet[1573]: Can't set a parent on widget which has a parent
Jan 31 20:52:53 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:52:53 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:52:53 x nm-applet[1573]: Can't set a parent on widget which has a parent
Jan 31 20:53:56 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
Jan 31 20:53:56 x nm-applet[1573]: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
andirsun commented 2 years ago

Not happening to me on 6.0