Bug 477560 - Resident notifications should support default action and inline reply
Summary: Resident notifications should support default action and inline reply
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (show other bugs)
Version: 5.27.9
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-26 13:32 UTC by Puspam Adak
Modified: 2025-03-29 14:24 UTC (History)
3 users (show)

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


Attachments
Notification when on screen (before timing out) (10.92 KB, image/png)
2023-11-26 13:37 UTC, Puspam Adak
Details
Same notification when in history (8.53 KB, image/png)
2023-11-26 13:37 UTC, Puspam Adak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Puspam Adak 2023-11-26 13:32:46 UTC
Resident notifications are kept alive even when they are in history. If there is any action configured for the notification, then they are shown as buttons in the notification entry. Default action is currently shown as a separate action button. And inline-reply action is entirely gone.

STEPS TO REPRODUCE
1. Send a notification with resident hint set to true. For example: notify-send Title Description -A opt1="Option 1" -A default="Default action" -A inline-reply="Reply" -w -h boolean:resident:true
2. Check the notification when it is on screen.
3. Wait for the notification to time out.
4. Open the notification history, and check the notification.

OBSERVED RESULT
1. When the notification is on screen, the body can be clicked in order to invoke the "default" action. Clicking on "Reply" (according to my notify-send command) opens an editable text box to enter text.
2. In the notification history, the notification body isn't clickable. Instead, a separate button is shown for the default action. The inline-reply button (Reply) is no longer present.

EXPECTED RESULT
All notification actions should be preserved as it is shown on screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.62-1-lts
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Comment 1 Puspam Adak 2023-11-26 13:37:06 UTC
Created attachment 163501 [details]
Notification when on screen (before timing out)
Comment 2 Puspam Adak 2023-11-26 13:37:43 UTC
Created attachment 163502 [details]
Same notification when in history
Comment 3 Nate Graham 2025-03-29 14:24:32 UTC
This is implemented as of Plasma 6.4!