https://bugs.kde.org/show_bug.cgi?id=501244

            Bug ID: 501244
           Summary: Notifications created through the Notification portal
                    do not have ActionInvoked signals emitted when clicked
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: 6.2.5
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: kylie...@gmail.com
                CC: aleix...@kde.org
  Target Milestone: ---

SUMMARY
Notifications created through the Notification portal do not have ActionInvoked
signals emitted when clicked 

STEPS TO REPRODUCE
1. Create a notification with the Notification portal with an action. I'm doing
this by running an electron app with libnotify within a flatpak & executing
`new Notification("hi").onclick = () => console.log("clicked")`
2. Click the notification

OBSERVED RESULT
When clicking the notification no ActionInvoked signal is emitted. confirmed by
seeing no "clicked" log message. Running dbus-monitor shows the signal is not
fired. 

EXPECTED RESULT
The signal is fired allowing the app to trigger actions while sandboxxed.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
libnotify uses the raw dbus protocol when not sandboxed which is why this isnt
an issue for non-sandboxxed apps. ActionInvoked is triggered correctly on click
when creating the notification with the Notify method.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to