Why are all the notifications closed as group? #1359
Unanswered
lordofscripts
asked this question in
Help
Replies: 1 comment 2 replies
-
it has to be called default Anyway, the problem might be related to the rather old version of dunst you said you were using. Maybe you could try compiling from source the newer version? (it is not difficult) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My Dunst server relevant configuration is:
do_close
do_action, do_close
do_close_all
In my GO program I use a Private DBus application session with these:
Notification expiry up to server
Open/Cancel actions defined for each notification.
Listeners for
onClose
&onAction
setup.Fire 3 separate notifications
My code does not close notification programmatically. I do any of these:
Let them expire in a few seconds (up to the server), or
Left click on ONE to close, or
Middle click to invoke the action
I noticed that if I fired several notifications with the same connection, Left Mouse (close ONE) would close all notifications that were fired under the same connection.
However, If I used one connection for each notification, I could close them individually as per the Dunst configuration (left mouse click).
So, having observed that, I wanted to do the same exercise of firing several, each with a dedicated connection, but with
onAction
andonClose
listeners. The connection being kept alive until Close arrived. So far, so good, alright?To my surprise, in the 2nd scenario, when I middle click on any of the 3 notifications, all three get closed simultaneously (yes, way before the expiration in case anyone wonders). However, Left click acts on them individually.
So, why is this behaviour not consistent?❓
Remarks:
Beta Was this translation helpful? Give feedback.
All reactions