Bug 463782 - "Send notifications" plugin breaks Plasma notification by sending wrong notification Ids
Summary: "Send notifications" plugin breaks Plasma notification by sending wrong notif...
Status: RESOLVED DUPLICATE of bug 447385
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (other bugs)
Version First Reported In: 22.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-03 15:57 UTC by Fushan Wen
Modified: 2023-01-03 15:58 UTC (History)
1 user (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 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 ***