From 4b2d6e63c5b60495fe47e7de6e998cfa060614bc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 17 Jan 2014 07:36:18 +0100 Subject: workaround X11 hanging (mga#12280) Since commit 95b9cd06f14a9817090584d72830df870c591acc, we run a gtk main loop after displaying a notification, else actions when clickong notification buttons are ignored by gtk+/libnotify However, if the notification is not manually closed, we never exit this main loop. In that case, gtk+ fails with: (mgaapplet:9060): Gtk-CRITICAL **: gtk_window_set_accept_focus: assertion 'GTK_IS_WINDOW (window)' failed from: data=, destroy=0x0, button=3, activate_time=5407876) at gtkmenu.c:1613 And X11 is stuck. As a workaround, since libnotify offers no way to be notified when notification is automatically closed, just add a timeout for exiting the main loop. At worse, X11 will be stuch only 5 seconds. --- NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index d440b080..c601e2ac 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +- workaround X11 hanging if one right click on status icon without + having closed the notification (mga#12280) + Version 3.5 - 8 January 2014, Thierry Vignaud - delay setting SIG_CHLD handler -- cgit v1.2.1