! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Buttons on second notification not working after first notification disappears
Status:
RESOLVED: MOVED
Product:
Xfce4-notifyd
Component:
general

Comments

Description Far223 2019-02-23 14:18:24 CET
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.
Comment 1 Git Bot editbugs 2020-05-24 20:06:38 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-notifyd/-/issues/16.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15157

Reported by:
Far223
Reported on: 2019-02-23
Last modified on: 2020-05-24

People

Assignee:
Simon Steinbeiss
CC List:
0 users

Version

Attachments

Additional information