From kde-core-devel Fri Jan 04 04:30:28 2013 From: Weng Xuetian Date: Fri, 04 Jan 2013 04:30:28 +0000 To: kde-core-devel Subject: Re: Kded and DBus Message-Id: <3621039.9mPDl2FpOT () chakra-zenbook> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=135729000730025 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart1466290.IOd3N9t31g" --nextPart1466290.IOd3N9t31g Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Thursday 03 January 2013 19:32:27=EF=BC=8CC=C3=A9dric Bellegarde : > Le jeudi 3 janvier 2013 18:09:25 David Edmundson a =C3=A9crit : > > Always use async calls for everything >=20 > On kded-appmenu part, the blocking code isn't in kded-module but in > appmenu-qt plugin used to export the menu over dbus: >=20 > http://bazaar.launchpad.net/~indicator-applet-developers/appmenu- > qt/trunk/view/head:/src/appmenuplatformmenubar.cpp#L406 >=20 > QDBusInterface host(REGISTRAR_SERVICE, REGISTRAR_PATH, REGISTRAR_IFAC= E) call > dbus_connection_send_with_reply_and_block () to do the dbus introspec= tion. >=20 > If someone know how to bypass this issue... >=20 > regards, Why appmenu-qt doesn't use static dbus interface (generate from XML)? F= rom Qt=20 code that can avoid synchronous introspection. --nextPart1466290.IOd3N9t31g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJQ5lrkAAoJEI6LiYy/JBL5k18IANhgpFpEiV4k2FSucUJCK7wY EtEPChvUnSQ0FMTD7drzNpiAUQZeaHHiGqFA+jv9c9T81Pedzl4h0Qc4ehdefSJL 2LUhnTygv0MDB7skCj1yRAVQibVOzRypSF6YIVYjLGNPnLebqBGdkOyQJSoutYec AZczZG4Bjz4XmjACGUseSs2k8P4Au9lM3u9nFcKWWr/lYsNyt3cOnl36A/4OHWKh i3t5co3WK0wrJCZNUvm+WbxZz3uMFZmfRjmFYFzDWT10bWigS6PvOIA+5psHdlGY QMDouUZcICnQQlJmI7kRJpLkrNd2bcTHhWlWB4/aXFrpXqsqZxJbTU95eYcB8Wo= =ZaSP -----END PGP SIGNATURE----- --nextPart1466290.IOd3N9t31g--