Bug 401987

Summary: Some notifications become not interactive once in the history widget.
Product: [Plasma] plasmashell Reporter: Eridani Rodríguez <eridanired123>
Component: NotificationsAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: eridanired123, kdelibs-bugs, plasma-bugs
Priority: NOR    
Version: 5.14.4   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Eridani Rodríguez 2018-12-11 04:28:19 UTC
SUMMARY
Some notifications (like those from websites opened in Firefox) are interactive only when they popup, and lose their "interactiveness" if you don't click on them at that time, once they are in the notification history they doesn't fire any action if you click on them.

STEPS TO REPRODUCE
1. Open http://www.bennish.net/web-notifications.html in Firefox
2. Click "Show in 5s"
3. Open a Dolphin window or anything, just navigate away from that browser tab


OBSERVED RESULT
4. The notification will appear in 5 seconds, if you click it it will take you to the website above.

5. If you don't click it it will disappear in a few seconds, now try clicking it in the Notifications history, it won't do anything.

EXPECTED RESULT
It should still take you to the website even if you click it in the notification history widget.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.14
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
May be related to https://bugs.kde.org/show_bug.cgi?id=364798
Comment 1 Kai Uwe Broulik 2018-12-11 08:15:21 UTC
When the notification is closed it cannot be interacted with anymore. That is because the application stops listening for the clicked signal. This is by design.
There is a Gnome addition to make notifications "resident" and keep their actions working even when dismissed but we don't support this.
Comment 2 Eridani Rodríguez 2018-12-11 16:11:09 UTC
But some other notifications like when you take a screenshot with Spectacle, maintain their interactive behaviour even in the history. Why is there a difference?