[Bug 52259] New: Enabling an account does not make it go online

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 19 19:27:53 CEST 2012


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

             Bug #: 52259
           Summary: Enabling an account does not make it go online
    Classification: Unclassified
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: mission-control
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: xclaesse at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


Steps:
1) have a GOA account enabled
2) set presence to available in empathy/gnome-shell
3) disable the GOA account via gnome-control-center, account goes offline
4) enable the GOA account via gnome-control-center, account stay offline

I think in the scenario the account should go online. Problem is GOA does not
know about tp/mc.

The reason the account stay offline is in _mcd_account_set_enabled(), when
disabling the account it sets the RequestedPresence to Offline, then when
enabling the account it calls mcd_account_rerequest_presence() but that just
request offline again...

empathy-accounts work around this by requesting the "most available" presence
on the account just after enabling it.

What I suggest is to decouple RequestedPresence and Enabled. So we could have
RequestedPresence=Available Enabled=False and that result to account being
offline. Changing RequestedPresence on a disabled account would be allowed but
won't connect the account until the account gets enabled.

-- 
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