elementary / notifications

Gtk Notifications Server
https://elementary.io
GNU General Public License v3.0
38 stars 6 forks source link

Invisible notification blocking input #212

Closed leolost2605 closed 1 year ago

leolost2605 commented 1 year ago

Prerequisites

Describe the bug

Not sure when exactly but at some point an invisible window stays probably where the notification was. It's noticeable as it blocks interaction with e.g. wingpanel indicators or windows in this area. Killing notifications removes the window.

To Reproduce

Steps to reproduce the behavior:

  1. Get a notification
  2. Suspend
  3. Wake up again
  4. Open the session indicator and try to click a button
  5. Notice inputs don't go through
  6. For completeness: I had the fix-expiring branch applied

Expected behavior

Don't keep a invisible window

Screenshots or screen recordings

Logs

Details

That's the beginning and from there on it just kept repeating only the Source didn't show up again ``` (io.elementary.notifications:37353): GLib-CRITICAL **: 23:06:05.217: Source ID 515 was not found when attempting to remove it (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:05.217: gtk_widget_show_all: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.633: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.633: gtk_widget_translate_coordinates: assertion 'GTK_IS_WIDGET (dest_widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_get_settings: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): GLib-GObject-CRITICAL **: 23:06:20.634: g_object_get: assertion 'G_IS_OBJECT (object)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_translate_coordinates: assertion 'GTK_IS_WIDGET (dest_widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_translate_coordinates: assertion 'GTK_IS_WIDGET (dest_widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_get_settings: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): GLib-GObject-CRITICAL **: 23:06:20.634: g_object_get: assertion 'G_IS_OBJECT (object)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_translate_coordinates: assertion 'GTK_IS_WIDGET (dest_widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.634: gtk_widget_translate_coordinates: assertion 'GTK_IS_WIDGET (dest_widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.754: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.754: gtk_widget_translate_coordinates: assertion 'GTK_IS_WIDGET (dest_widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.754: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.754: gtk_widget_translate_coordinates: assertion 'GTK_IS_WIDGET (dest_widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.754: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.754: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:20.754: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:21.213: gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:21.214: gtk_widget_translate_coordinates: assertion 'GTK_IS_WIDGET (dest_widget)' failed (io.elementary.notifications:37353): Gtk-CRITICAL **: 23:06:21.214: gtk_widget_get_settings: assertion 'GTK_IS_WIDGET (widget)' failed ````

Platform Information

Additional context

leolost2605 commented 1 year ago

It definitely happens when suspending and waking up again

leolost2605 commented 1 year ago

It seems fix-expiring is actually the cause