[Bug 25659] New: ObserveChannels implementation might actually return immediately

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 15 20:38:49 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25659

           Summary: ObserveChannels implementation might actually return
                    immediately
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-qt4
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk


While learning more about how to implement services with QtDBus, I noticed that
TpQt4 doesn't call setDelayedReply(true) on the DBusMessage; from my reading of
the documentation, this means that ObserveChannels() is returning immediately,
rather than waiting for the library user's implementation to signal that it's
ready to return from ObserveChannels(). We should check if this actually works.

(Thiago Macieira informs us that having a DBusMessage argument in the adaptor's
method implementation is deprecated—in some nebulous fashion which does not
involve marking it as such in the documentation :-)—in favour of the exported
object (not adaptor) deriving from DBusContext and calling magic methods to get
the current connection and message, etc. But possibly switching to that is
orthogonal to checking this potential bug out.)


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


More information about the telepathy-bugs mailing list