elementary / notifications

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

Dismissing notification with close button activates default action #141

Closed bluesabre closed 3 years ago

bluesabre commented 3 years ago

Prerequisites

Describe the bug

Dismissing a notification using the close button seems to activate the default action. This can be observed with the demo application.

To Reproduce

Steps to reproduce the behavior:

  1. Trigger notification
  2. Click on the X button
  3. Default action is activated (if none specified, this is to launch the application itself)

Expected behavior

Dismissing a notification should make it go away without anything else happening.

Screenshots or screen recordings

In the below recording, I:

  1. Dismiss a notification by swiping it away
  2. Attempt to dismiss a notification with only a default action, launching the demo app again
  3. Successfully dismiss a notification without a default action

https://user-images.githubusercontent.com/1894517/124911130-6bc64880-dfba-11eb-8098-45a2f1bd95f3.mp4

Logs

Platform Information

Additional context