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 617207 - gnome-shell has a different away/available/busy toggle from empathy
gnome-shell has a different away/available/busy toggle from empathy
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 649247 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-04-29 19:27 UTC by Bill Nottingham
Modified: 2011-05-06 22:16 UTC
See Also:
GNOME target: 3.0
GNOME version: ---


Attachments
http://git.collabora.co.uk/?p=user/cassidy/gnome-shell;a=shortlog;h=refs/heads/im-status-617207 (2.11 KB, patch)
2011-02-28 16:05 UTC, Guillaume Desmottes
accepted-commit_now Details | Review

Description Bill Nottingham 2010-04-29 19:27:01 UTC
If I'm running both gnome-shell and empathy, I get two menu/status icons that I can set available/away on. They do not respect each others settings. Ideally they'd be frobbing the same thing.

(Haven't tested with pidgin.)

gnome-shell-2.29.1-4.x86_64
empathy-2.30.1-2.fc13.x86_64
Comment 1 William Jon McCann 2010-10-14 19:41:34 UTC
Empathy should probably use the session status.
Comment 2 Guillaume Desmottes 2010-10-15 09:07:41 UTC
No, gnome-shell should change the presence (using Mission-Control) when the status is changed using its menu.
Comment 3 William Jon McCann 2010-10-16 07:38:28 UTC
This has been discussed with Robert a few times now and we agreed each time that mission control would use:
http://people.gnome.org/~mccann/gnome-session/docs/gnome-session.html

Before bouncing the bug back again would you mind explaining why you think the plan has changed?  Thanks.
Comment 4 Guillaume Desmottes 2010-10-18 11:27:45 UTC
That's one option, but that won't completely solve the issue raised by this user.
For example, Empathy could have "away" as status while your chooser can't display this status. What should we do in this case?

Anyway, Empathy should not be modified, that's purely a gnome-shell / mission-control / gnome-session thing.
Comment 5 William Jon McCann 2010-10-26 20:32:33 UTC
The away status is available and shown but not set by the user directly.  It is set when the session is inactive.  (or this was the way it was intended to work)
Comment 6 Matthias Clasen 2011-01-19 19:46:06 UTC
We really need this resolved for GNOME 3. We can't ship with a nonfunctional control taking up one of the 4 corners of the screen.
Comment 7 Quentin "Sardem FF7" Glidic 2011-01-26 22:19:06 UTC
Note that the Pidgin support is done by a libpurple plugin using the DBus interface. No official support yet.
Comment 8 Matthias Clasen 2011-02-24 05:00:16 UTC
Any news on this ?
Comment 9 Guillaume Desmottes 2011-02-25 14:45:56 UTC
There has been some discussion on the mailing list about this:
http://lists.freedesktop.org/archives/telepathy/2011-January/005200.html
http://lists.freedesktop.org/archives/telepathy/2011-February/005276.html

I'd also like to get a better idea of how this feature is supposed to work.

The shell picker just allow user to set his status to "Available" and "Busy",
the "Away" state being set automatically when the session is idling; correct?

Please let me know if these scenarios are correct.

Empathy is not running, user changes his status using the picker; should we
connect its IM accounts? I guess not.

Empathy running
IM status: (available, "")  (no status message)
Session status: Available
-> User set "Busy" using the picker
IM status: (busy, "")
-> User set "Avalaible" using Empathy
IM status: (available, "")
Session status: Busy

Empathy running
IM status: (available, "Badger")  (no status message)
Session status: Available
-> User set "Busy" using the picker
IM status: (busy, "Badger")
Session status: Busy

Empathy running.
IM status: (available, "Badger")  (no status message)
Session status: Available
-> User set (Away, "Badger") using Empathy
IM status: (Away, "Badger")
Session status: Available
-> User set "Busy" using the picker
Session status: Busy
IM status: ?
Comment 10 Matthias Clasen 2011-02-25 23:41:21 UTC
> The shell picker just allow user to set his status to "Available" and "Busy",
> the "Away" state being set automatically when the session is idling; correct?

That is my understanding, yes

> Empathy is not running, user changes his status using the picker; should we
> connect its IM accounts? I guess not.

I don't think so, no

> Empathy running
> IM status: (available, "")  (no status message)
> Session status: Available
> -> User set "Busy" using the picker
> IM status: (busy, "")
> -> User set "Avalaible" using Empathy
> IM status: (available, "")
> Session status: Busy

Looks right to me

> Empathy running
> IM status: (available, "Badger")  (no status message)
> Session status: Available
> -> User set "Busy" using the picker
> IM status: (busy, "Badger")
> Session status: Busy

Looks right to me too

> Empathy running.
> IM status: (available, "Badger")  (no status message)
> Session status: Available
> -> User set (Away, "Badger") using Empathy
> IM status: (Away, "Badger")
> Session status: Available
> -> User set "Busy" using the picker
> Session status: Busy
> IM status: ?

Not sure it makes a huge amount of difference as long as the im status is not 'available'. Basically, if I change my session status to busy, my im status should not be 'available'. And if my session status goes to 'away', my im status should follow (at least if it was 'available' before).
Comment 11 Guillaume Desmottes 2011-02-28 16:05:16 UTC
After some discussion with Telepathy/Empathy developpers, we think the right way to implement this is to change the Telepathy presence directly from the presence picker. I implemented this in http://git.collabora.co.uk/?p=user/cassidy/gnome-shell;a=shortlog;h=refs/heads/im-status-617207
Comment 12 Guillaume Desmottes 2011-02-28 16:05:31 UTC
Created attachment 182102 [details] [review]
http://git.collabora.co.uk/?p=user/cassidy/gnome-shell;a=shortlog;h=refs/heads/im-status-617207

 js/ui/statusMenu.js |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
Comment 14 Guillaume Desmottes 2011-03-01 09:11:06 UTC
Thanks; merged to master.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 15 Mariusz Bielski 2011-05-06 22:16:53 UTC
*** Bug 649247 has been marked as a duplicate of this bug. ***