* Calling Service::Remove will not raise the Service::PropertyChanged event
@ 2021-06-22 18:15 Andrei Datcu
2021-07-02 7:25 ` Daniel Wagner
0 siblings, 1 reply; 2+ messages in thread
From: Andrei Datcu @ 2021-06-22 18:15 UTC (permalink / raw)
To: connman
I'm having a wifi service with:
State == "idle"
Error == "invalid-key"
Calling Service::Remove() will correctly reset the "Error" property.
There will be no Service::PropertyChanged signal emitted however. Is
this a bug or is this technically not considered a property change
since the property is now missing all together from the property set?
Thanks,
Andrei Datcu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Calling Service::Remove will not raise the Service::PropertyChanged event
2021-06-22 18:15 Calling Service::Remove will not raise the Service::PropertyChanged event Andrei Datcu
@ 2021-07-02 7:25 ` Daniel Wagner
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Wagner @ 2021-07-02 7:25 UTC (permalink / raw)
To: Andrei Datcu; +Cc: connman
Hi Andrei,
On Tue, Jun 22, 2021 at 09:15:24PM +0300, Andrei Datcu wrote:
> I'm having a wifi service with:
> State == "idle"
> Error == "invalid-key"
>
> Calling Service::Remove() will correctly reset the "Error" property.
> There will be no Service::PropertyChanged signal emitted however. Is
> this a bug or is this technically not considered a property change
> since the property is now missing all together from the property set?
Good question. I tend to say, the reason why no PropertyChanged is
issued is that the service itself is removed and not just a
property. Given that you call 'Remove' and get a reply message which
says, it the request was either successful or not should be
enough. Also, the D-Bus service object should be removed then and
this should give another signal source.
Thanks,
Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-02 7:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22 18:15 Calling Service::Remove will not raise the Service::PropertyChanged event Andrei Datcu
2021-07-02 7:25 ` Daniel Wagner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).