On Wed, 6 Jul 2022 23:44:21 +0200 Christopher Schramm <deb...@cschramm.eu> wrote:
> > Shouldn't > > there be some sort of "Okay" button, or some window decoration that > > allows them to be closed? > > Yes, window decorations are expected if those are the fallback windows. > They are GTK MessageDialogs which by default shall get decorated by the > window manager. > > Another possibility would be that what you see is generated by some kind > of notification daemon. > > You can test both facilities to check: > > Standard notification (default): > > python3 -c 'from blueman.gui.Notification import _NotificationBubble as > Notification; Notification("Test", "Test").show()' ~$ python3 -c 'from blueman.gui.Notification import _NotificationBubble as Notification; Notification("Test", "Test").show()' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/blueman/gui/Notification.py", line 193, in __init__ self._capabilities = self.GetCapabilities() File "/usr/lib/python3/dist-packages/gi/overrides/Gio.py", line 349, in __call__ result = self.dbus_proxy.call_sync(self.method_name, arg_variant, gi.repository.GLib.GError: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files (2) (No window appears.} > Dialog (fallback): > > python3 -c 'from blueman.gui.Notification import _NotificationDialog as > Notification; Notification("Test", "Test").show(); from gi.repository > import GLib; GLib.MainLoop().run()' ~$ python3 -c 'from blueman.gui.Notification import _NotificationDialog as Notification; Notification("Test", "Test").show(); from gi.repository import GLib; GLib.MainLoop().run()' ^CTraceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python3/dist-packages/gi/overrides/GLib.py", line 495, in run with register_sigint_fallback(self.quit): File "/usr/lib/python3.10/contextlib.py", line 142, in __exit__ next(self.gen) File "/usr/lib/python3/dist-packages/gi/_ossighelper.py", line 237, in register_sigint_fallback signal.default_int_handler(signal.SIGINT, None) KeyboardInterrupt (Window appears, looking much like the ones I filed this report about - no decorations or any obvious means of closing.) I realized, BTW, that the easy way to close these windows is ALT-F4 when they have focus, but I still think they should have some labeled method of closing / dismissal. I really don't know much about notification daemons and fallback windows. What expected pieces are my system missing? -- Celejar