After setting status to 'offline' I can't switch back to other statuses using MeMenu

Bug #581285 reported by Raoul Verveer
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
The Me Menu
New
Undecided
Unassigned

Bug Description

After setting status to 'offline' (either through MeMenu or Empathy itself) I can't switch back to other statuses from MeMenu, regardless of whether Empathy is running or not. The status options are rendered disabled in MeMenu. The previous status (before switching to offline) has a bullet in front of it, suggesting this would the active status, which is not true.

I am able to switch back to another non-offline status using Empathy, after which the MeMenu gets updated and everything works as normal, until I switch back to 'offline'.

Revision history for this message
Raoul Verveer (lazy-r) wrote :
Revision history for this message
mikefreeman (mike-freeman-studio) wrote :

Same behavior on my system. Mint 9 (same as Ubuntu 10.04).

Revision history for this message
Matt Byrd (matt-byrdits) wrote :

I have the same issue. The workaround is going into each chat account and disabling then re-enabling.

Revision history for this message
Matt Byrd (matt-byrdits) wrote :

Ubuntu - 10.04 - x64

Ted Gould (ted)
affects: indicator-applet → indicator-me
Revision history for this message
James Aley (james-aley) wrote :

Hey,

I use the Me Menu a lot to switch my chat accounts offline when I have to take my laptop to a meeting, so this issue was kind of bugging me. As a result, I've shamelessly hacked it (see below). I just removed the code making the menu items insensitive upon disconnect. To be honest, this actually works fine for me - It's handy to be able to go from "offline" to another (connected) status sometimes, so I'd personally rather the menu items were not disabled.

However, if we could think of a better fix I'd be happy to do it - that is as long as this issue isn't urgent (guess not?) and you don't mind suffering a contribution-virgin being slightly cumbersome? :-)

=== modified file 'src/me-service.c'
--- src/me-service.c 2010-02-18 17:30:27 +0000
+++ src/me-service.c 2010-06-09 21:41:10 +0000
@@ -105,16 +105,6 @@
   /* Configure the icon on the panel */
   status_service_dbus_set_status(dbus_interface, status_icons[global_status]);

- /* If we're now disconnected, make setting the statuses
- insensitive. */
- if (global_status == STATUS_PROVIDER_STATUS_DISCONNECTED) {
- StatusProviderStatus i;
- for (i = STATUS_PROVIDER_STATUS_ONLINE; i < STATUS_PROVIDER_STATUS_LAST; i++) {
- if (status_menuitems[i] == NULL) continue;
- dbusmenu_menuitem_property_set_bool(status_menuitems[i], DBUSMENU_MENUITEM_PROP_ENABLED, FALSE);
- }
- }
-
   /* If we're now back to a state where we have an IM client
      connected then we need to resensitize the items. */
   if (oldglobal == STATUS_PROVIDER_STATUS_DISCONNECTED) {

Revision history for this message
clemmy (luca-clem) wrote :

@ James Aley

Thank you a lot for your comment!
I'll try your patch as soon as possible!

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Marking as a dup of Bug #550824 as it already has more duplicates and is linked to the blueprint for the solution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.