[Bug 40562] New: McdTransport terminated connection attempts don't trigger status change

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 1 19:41:01 CEST 2011


           Summary: McdTransport terminated connection attempts don't
                    trigger status change
           Product: Telepathy
           Version: git master
          Platform: Other
               URL: http://cgit.collabora.com/git/user/vivek/telepathy-mis
        OS/Version: All
            Status: ASSIGNED
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: mission-control
        AssignedTo: vivek at collabora.co.uk
        ReportedBy: vivek at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org

If we have an McdTransport plugin in residence, connections attempts 
can fail as a result of these before a McdConnection connetion attempt
is made: Since there is no state change, no status change signal is omitted,
which can be confusing for UIs and so forth:

• Available status is requested
• McdAccount tries to go online
  • McdTransport intervenes here: this may fail
• "Real" connection attempt is made iff the transport says "Ok"

This branch makes the McdAccount's status go to CONNECTING as soon
as possible, so that early termination due to McdTransport failure
can generate the appropriate status change signal.

Note that this doesn't affect vanilla MC as we don't (currently)
ship with any transport plugins, but there's WIP to provide 
Network Manager etc integration, which would be affected as it 
uses the McdTransport mechanism.

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

More information about the telepathy-bugs mailing list