D23610: Fix orientation sensor DBus

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.