[Bug 29409] New: StatefulDBusProxy should use QDBusServiceWatcher, if available

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 5 16:44:28 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29409

           Summary: StatefulDBusProxy should use QDBusServiceWatcher, if
                    available
           Product: Telepathy
           Version: git master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-qt4
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: ollisal at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


StatefulDBusProxy (used by the high-level proxy objects for all stateful
service interfaces in tp-qt4) currently connects to the DBus daemon's
serviceOwnerChanged signal in a generic way, causing a wakeup and extra
processing for every StatefulDBusProxy-derived object in a tp-qt4 application
whenever a DBus client enters/exits the bus or registers a well-known name.

Qt 4.6 added the QDBusServiceWatcher class
(http://doc.qt.nokia.com/4.6/qdbusservicewatcher.html), which should be used to
listen only for the specific name the proxy object is associated with,
preventing wakeups from unrelated name changes.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list