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

            Bug ID: 462278
           Summary: Actions in Notification portal totally broken
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: fedin-ilja2...@ya.ru
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

SUMMARY
xdg-desktop-portal-kde doesn't remember action IDs and the target parameter
supplied by applications and sends ActionInvoked signal with action ID used
with communication to org.freedesktop.Notifications, but the application
communicatin to the portal doesn't know anyhing about those IDs and expects the
IDs and target parameters it supplied to the portal.

It's also worth mentioning that for compatibility with applications using
GNotification, org.freedesktop.Application.ActivateAction should be supported:
https://github.com/flatpak/xdg-desktop-portal-gtk/blob/9702bacc1ae8de2f357974ced2bcd6997dfd4e69/src/notification.c#L119-L158

STEPS TO REPRODUCE
1. Get a notification with actions using the portal spec
2. Try to click on a button on the notificiation

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Application doing the action

SOFTWARE/OS VERSIONS
Operating System: NixOS 22.11
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 6.0.7-zen1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Memory: 5.7 GB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics

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

Reply via email to