Bug 456615 - Actions buttons in notification popups will not return result
Summary: Actions buttons in notification popups will not return result
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.24.6
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 10:17 UTC by gnb83044
Modified: 2022-07-13 19:33 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gnb83044 2022-07-12 10:17:31 UTC
SUMMARY
Actions buttons in notification popups will not return result when pressed

STEPS TO REPRODUCE
1. Install required setup
2. run `notify-send --action=ANY='any' "any"` in Konsole
3. Press "any" in tray

OBSERVED RESULT
Notification disappears, but nothing happens in stdout

EXPECTED RESULT
`ANY` printed in stdout and notification disappearance



SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.50-1-MANJARO (64-bit)
Graphics Platform: X11
Graphics Processor: NVIDIA GeForce MX250/PCIe/SSE2


ADDITIONAL INFORMATION
This also seem to be cause of another bug
Comment 1 Felipe Kinoshita 2022-07-12 14:56:06 UTC
Can't reproduce, "ANY" is printed to stdout for me
Comment 2 gnb83044 2022-07-12 17:10:48 UTC
DBus monitor shows that ANY has been returned. However, I observe the same bug in any other app (KDEConnect, notify-send.py, etc.). 

Also, here is DBus logs:


method call time=1657645732.796383 sender=:1.322 -> destination=:1.22 serial=6 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetServerInformation
method call time=1657645732.797225 sender=:1.322 -> destination=:1.22 serial=7 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=GetCapabilities
method call time=1657645732.797975 sender=:1.322 -> destination=:1.22 serial=8 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "notify-send"
   uint32 0
   string ""
   string "any"
   string ""
   array [
      string "ANY"
      string "any"
   ]
   array [
      dict entry(
         string "urgency"
         variant             byte 1
      )
      dict entry(
         string "sender-pid"
         variant             int64 269036
      )
   ]
   int32 -1
signal time=1657645734.253955 sender=:1.22 -> destination=(null destination) serial=6556 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=ActionInvoked
   uint32 338
   string "ANY"
signal time=1657645734.254096 sender=:1.22 -> destination=(null destination) serial=6557 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
   uint32 338
   uint32 3
Comment 3 Nate Graham 2022-07-13 19:33:31 UTC
Works for me too. This is pointing to a setup issue on your machine. I would recommend that you seek help on a Manjaro-specific forum.