After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685641 - Doesn't remember the status of non-GOA accounts at startup
Doesn't remember the status of non-GOA accounts at startup
Status: RESOLVED NOTGNOME
Product: empathy
Classification: Core
Component: General
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-07 07:13 UTC by Mehmet Giritli
Modified: 2012-10-14 09:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mehmet Giritli 2012-10-07 07:13:53 UTC
Empathy correctly recalls the last state of GOA chat accounts but it doesn't do the same for empathy accounts, which have to be manually started.
Comment 1 Guillaume Desmottes 2012-10-08 07:26:53 UTC
By startup you mean "when starting my gnome-shell session" ?

Which version of telepathy-mission-control and Shell are you using?
Comment 2 Mehmet Giritli 2012-10-08 08:42:49 UTC
Yes, that is what I mean, when starting shell session.

mission control is 5.12.1 and gnome-shell is 3.4.2 on a gentoo distro. We dont have gnome 3.6 series available yet, so I can't try if this is fixed in the latest version. So if somebody could test, it would be perfect...
Comment 3 Mehmet Giritli 2012-10-08 08:46:56 UTC
And to be more specific: When I say it doesn't remember the state of such accounts, I mean that they are always offline with a new session.
Comment 4 Guillaume Desmottes 2012-10-08 09:26:59 UTC
Shell is supposed to restore the presence you had when you exit your session. You can check the presence stored using:
  gsettings get org.gnome.shell saved-im-presence

See http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-enums.html#TpConnectionPresenceType for the value.

So the saved presence is correctly restored on your GOA accounts but not on the traditional ones; is that correct?
Comment 5 Mehmet Giritli 2012-10-08 11:25:45 UTC
That is exactly correct.
Comment 6 Guillaume Desmottes 2012-10-09 08:37:04 UTC
So, when this happens, could you please, before manually connecting the faulty account:

- Post the output of 'mc-tool summary'
- For each faulty account the output of 'mc-tool show $account'
Comment 7 Guillaume Desmottes 2012-10-09 08:41:40 UTC
So, when this happens, could you please, before manually connecting the faulty account:

- Post the output of 'mc-tool summary'
- For each faulty account the output of 'mc-tool show $account'
Comment 8 Mehmet Giritli 2012-10-09 17:29:07 UTC
mc-tool summary

Account                                     Enabled Requested
=======                                     ======= =========
gabble/jabber/moonskin_2ecursed_40gmail_2ecom0    ☐ hidden
gabble/jabber/goa_facebook_account_1347538874     ☐ hidden
gabble/jabber/goa_windows_live_account_1347434195 ☐ hidden
gabble/jabber/goa_google_account_1339749797       ✓ hidden
haze/yahoo/mehmet_2egiritli_40yahoo_2ecom0        ☐ offline
salut/local_2dxmpp/account0                       ☐ hidden
haze/msn/mehmetgiritli_40hotmail_2ecom0           ✓ offline

The only faulty account is this one:

mgiritli@mordor ~ $ mc-tool show haze/msn/mehmetgiritli_40hotmail_2ecom0
     Account: haze/msn/mehmetgiritli_40hotmail_2ecom0
Display Name: mehmetgiritli@hotmail.com
  Normalized: mehmetgiritli@hotmail.com
     Enabled: enabled
        Icon: im-msn
    Connects: only when requested
    Nickname: Mehmet
     Service: msn

Presences:
   Automatic: available (2) ""
     Current: offline (1) ""
   Requested: offline (1) ""
    Changing: no

Addressing:
   URIScheme: 

      (string) account = mehmetgiritli@hotmail.com
Comment 9 Guillaume Desmottes 2012-10-10 07:16:49 UTC
THe hidden status is a bit special. Are you experiencing the same issue when the last status used (and so the one stored in gsettings) is 'available'?
Comment 10 Mehmet Giritli 2012-10-10 15:34:17 UTC
First I tried with status 'busy'. It is the same, I have the same problem. Here is the output: 

mc-tool summary
Account                                     Enabled Requested
=======                                     ======= =========
gabble/jabber/moonskin_2ecursed_40gmail_2ecom0    ☐ busy
gabble/jabber/goa_facebook_account_1347538874     ☐ busy
gabble/jabber/goa_windows_live_account_1347434195 ☐ busy
gabble/jabber/goa_google_account_1339749797       ✓ busy
haze/yahoo/mehmet_2egiritli_40yahoo_2ecom0        ☐ offline
salut/local_2dxmpp/account0                       ☐ busy
haze/msn/mehmetgiritli_40hotmail_2ecom0           ✓ offline

mgiritli@mordor ~ $ mc-tool show haze/msn/mehmetgiritli_40hotmail_2ecom0
     Account: haze/msn/mehmetgiritli_40hotmail_2ecom0
Display Name: mehmetgiritli@hotmail.com
  Normalized: mehmetgiritli@hotmail.com
     Enabled: enabled
        Icon: im-msn
    Connects: only when requested
    Nickname: Mehmet
     Service: msn

Presences:
   Automatic: available (2) ""
     Current: offline (1) ""
   Requested: offline (1) ""
    Changing: no

Addressing:
   URIScheme: 

      (string) account = mehmetgiritli@hotmail.com
Comment 11 Mehmet Giritli 2012-10-10 15:48:03 UTC
Now I just tried it with the status 'available' and it is the same. Only GOA accounts get connected others remain offline. Here is the output of the commands in this case:

 mc-tool summary
Account                                     Enabled Requested
=======                                     ======= =========
gabble/jabber/moonskin_2ecursed_40gmail_2ecom0    ☐ available
gabble/jabber/goa_facebook_account_1347538874     ☐ available
gabble/jabber/goa_windows_live_account_1347434195 ☐ available
gabble/jabber/goa_google_account_1339749797       ✓ available
haze/yahoo/mehmet_2egiritli_40yahoo_2ecom0        ☐ offline
salut/local_2dxmpp/account0                       ☐ available
haze/msn/mehmetgiritli_40hotmail_2ecom0           ✓ offline

mgiritli@mordor ~ $ mc-tool show haze/msn/mehmetgiritli_40hotmail_2ecom0
     Account: haze/msn/mehmetgiritli_40hotmail_2ecom0
Display Name: mehmetgiritli@hotmail.com
  Normalized: mehmetgiritli@hotmail.com
     Enabled: enabled
        Icon: im-msn
    Connects: only when requested
    Nickname: Mehmet
     Service: msn

Presences:
   Automatic: available (2) ""
     Current: offline (1) ""
   Requested: offline (1) ""
    Changing: no

Addressing:
   URIScheme: 

      (string) account = mehmetgiritli@hotmail.com
Comment 12 Guillaume Desmottes 2012-10-12 10:38:38 UTC
Looks like telepathy-mission-control indeed fails to set the requested presence on the haze account. My first bet would be a mission-control bug, could you please forward this bug to bugs.freedesktop.org ?
Comment 13 Mehmet Giritli 2012-10-14 09:38:26 UTC
I submitted it here:

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