Bug 463782

Summary: "Send notifications" plugin breaks Plasma notification by sending wrong notification Ids
Product: [Applications] kdeconnect Reporter: Fushan Wen <qydwhotmail>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andrew.g.r.holmes
Priority: NOR    
Version First Reported In: 22.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Fushan Wen 2023-01-03 15:57:53 UTC
SUMMARY
SendNotificationsPlugin registers org.freedesktop.Notifications and monitors Notify method, but Plasma notification widget also monitors Notify method. If SendNotificationsPlugin replies a different notification Id to an application, the notification in Plasma will be not actionable.

STEPS TO REPRODUCE
1. Enable Send Notification plugin
2. Send some notifications
3. Restart plasmashell to reset the notification Id counter

OBSERVED RESULT
Notifications in Plasma have invalid actions

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
See kdeconnect-kde/plugins/sendnotifications/notificationslistener.cpp
Comment 1 Fushan Wen 2023-01-03 15:58:18 UTC

*** This bug has been marked as a duplicate of bug 447385 ***