Bug 451192

Summary: Connecting to KNotification::activated before doing setActions does not work
Product: [Frameworks and Libraries] frameworks-knotifications Reporter: Bhushan Shah <bshah>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.91.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bhushan Shah 2022-03-06 09:01:30 UTC
SUMMARY

If you do connection to activated before doing setActions, slot does not trigger, I verified using dbus-monitor that related dbus signal is emitted but not the lambda slot.

See https://invent.kde.org/plasma-mobile/plasma-dialer/-/merge_requests/85

Question is, if is it expected? If so it should be possibly documented?
Comment 1 Kai Uwe Broulik 2022-03-06 14:36:59 UTC
It should definitely work no matter the order, that said I cannot reproduce in a minimal example