Bug 40562 - McdTransport terminated connection attempts don't trigger status change
Summary: McdTransport terminated connection attempts don't trigger status change
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: mission-control (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Vivek Dasmohapatra
QA Contact: Telepathy bugs list
URL: http://cgit.collabora.com/git/user/vi...
Whiteboard: review+
Keywords: patch
Depends on:
Blocks:
 
Reported: 2011-09-01 10:40 UTC by Vivek Dasmohapatra
Modified: 2011-09-07 08:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vivek Dasmohapatra 2011-09-01 10:40:59 UTC
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.
Comment 1 Will Thompson 2011-09-05 09:53:40 UTC
This looks reasonable, if it works. :)

(The whole stars-on-the-right-hand-side-of-comments thing bothers me, though. I
think it adds visual noise, and makes comments harder to edit later.)
Comment 2 Vivek Dasmohapatra 2011-09-07 08:36:50 UTC
Comment amended, released in 5.8.2


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.