D23610: Fix orientation sensor DBus
David Edmundson
noreply at phabricator.kde.org
Sun Sep 1 17:00:27 BST 2019
davidedmundson added a comment.
> However can you please explain why the adaptor won't be removed if you delete it?
Assuming the question is "why the interface won't be removed if you remove the adaptor"?
Qt builds the object introspection when you register the object.
From a DBus POV, it is possible to do this at runtime, just not in Qt - but in either case it's slightly easier to tell if an object is available on a path than for a client and has a specific interface.
As for the crash, QDBusAdaptorConnector::addAdaptor doesn't handle the matching removal, because it'd be supporting something that wouldn't work anyway. I didn't spend too much time looking after this point.
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D23610
To: davidedmundson, #kwin, zzag, anthonyfieroni, romangg
Cc: romangg, zzag, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20190901/11ac9102/attachment.html>
More information about the kwin
mailing list