Buttons on second notification not working after first notification disappears
Submitted by Far223
Assigned to Simon Steinbeiß
Steps to reproduce: generate a first notification with “notify-send a”, then run while it's still there the following Python 3 script in a terminal:
#!/bin/python import gi gi.require_version('Notify', '0.7') gi.require_version('Gtk', '3.0') from gi.repository import Notify, Gtk def callback(*args): print("Callback called") Notify.init("Hello World") notification = Notify.Notification.new("Test", "Test2") notification.add_action("my action", "Call", callback) notification.show() Gtk.main()
Put your mouse over this second notification and wait for the first to disappear. When clicking on the button, the callback won't be called.