Ticket #3489 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

Status Changes with multiple accounts doesn't work

Reported by: anonymous Owned by: asterix
Priority: low Milestone: 0.12
Component: usability Version: 0.11.1
Severity: minor Keywords:
Cc: muelli@… OS: All

Description

I have multiple accounts, one set "online", another set "away". Gajim shows "away" in notification area as well as on the big button at the bottom of the roster.

If you now right-click the icon in notification area -> Set Status -> Away then nothing happens, e.g. the accuont being online is still "online" and not away.

I'd expect all account to settle to the just selected status.

Attachments

global_status.2.diff (1.5 kB) - added by anonymous 14 months ago.
global_status.diff (1.5 kB) - added by anonymous 14 months ago.
global_status.2.2.diff (1.9 kB) - added by shivan 14 months ago.
global_status_offlines_dont_goes_online.diff (2.2 kB) - added by shivan 14 months ago.
add an option when account not synchronized, and don't bring online disconnected accounts if you change global status
global_status_offlines_goes_online.diff (2.4 kB) - added by shivan 14 months ago.
add an option when account not synchronized, and bring online disconnected accounts if you change global status

Change History

Changed 14 months ago by muelli

  • cc muelli@… added

Changed 14 months ago by asterix

  • status changed from new to closed
  • resolution set to worksforme

see the "synchroniwe accoutn status with globalstatus" option in accounts window

Changed 14 months ago by muelli

  • status changed from closed to reopened
  • resolution worksforme deleted

I have this option checked for both accounts.

So here is more precise recipe to reproduce:

1) Have multiple accounts, set both to "online" 2) Just set one account to away (right click account in roster, status, away) 3) see notification area and big button at the bottom of the roster adapt this new status 4) see second account still being online 5) select "global" status "away", e.g. click big roster button, select away or do it in notification area

now see that the first account is still away (of course) but the second account remains online.

Thus reopening.

Changed 14 months ago by asterix

  • milestone set to 0.12

Changed 14 months ago by asterix

(In [8906]) change global status when we set it through systray menu, even if one account already has this status. see #3489

Changed 14 months ago by asterix

it's now ok if you set it through systray menu.

That still doesn't work if you set it through combobox in roster window: as menuitem is the same, GTK doesn't emit anything, so we have no way to know that user opened the combobox and choose the same menuitem. But this behaviour is not so strange, it's normal that selecting the already selected item do nothing.

So we can close it as fixed I think

Changed 14 months ago by anonymous

Changed 14 months ago by anonymous

Changed 14 months ago by asterix

(In [8908]) [shivan] show nothing in status combobox when status is not unified for all globaly sync'ed accounts. see #3489

Changed 14 months ago by shivan

global_status.2.2.diff add a deselected option (and delete it when not needed) : the global status + a string "sync'ed", this way you see the global status in the roster (sonsistent with the systray) but you know all accounts status aren't synchronized.

before commiting : - change "sync'ed" in the file to something prettier - self.status_combobox.remove_text(10) should be changed to something less static - decide if the new option must be appended or prepended to the list

Changed 14 months ago by shivan

I think I got everything covered with this one

was not sure wether I should use gtk.TreeModel?.foreach to check if the option is present, so I went for something pretty static (same way as we check if the option is "status" by the index)

Changed 14 months ago by asterix

there are strange things:

1. when status is desymced, choosing "change status message" doesn't change status messages of connected accounts

2. when one account is online and another is offline, choosing away change status of only online account. It should change status of all globaly synced accounts

Changed 14 months ago by shivan

same issue, has been patched see new global_status.2.2.diff

Changed 14 months ago by asterix

this patch is the same as previously :)

Changed 14 months ago by steve-e

Sorry shivan, could not review your patch yet. Wlan on my linux box just broke on suspend :-/ (and I am to lazy to reboot the whole thing)

Changed 14 months ago by shivan

Changed 14 months ago by shivan

add an option when account not synchronized, and don't bring online disconnected accounts if you change global status

Changed 14 months ago by shivan

add an option when account not synchronized, and bring online disconnected accounts if you change global status

Changed 14 months ago by asterix

  • status changed from reopened to closed
  • resolution set to fixed

(In [8916]) [shivan] show in status combobox that accounts status are not synchronized. fixes #3489

Add/Change #3489 (Status Changes with multiple accounts doesn't work)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.