Ticket #1724 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Set status combobox to online doesn't connect globally synchronised account

Reported by: jim++ Owned by: asterix
Priority: normal Milestone: 0.9.1
Component: xmpppy Version: 0.10
Severity: normal Keywords:
Cc: OS:

Description

I have :

  • one account with "synchronize with global status" on. I will call it main account.
  • some other account without that option activated.

Main account and one of the others account are connected. I use right click on main account -> go offline. Then the global combobox for status print offline as expected. I want to connect the main account, I use this global combobox and choose online... And main account isn't connecting.

Attachments

Change History

Changed 3 years ago by jim++

Mmmm, it's supposed to be a feature but that doesn't work at all :

for acct in accounts:
	if not gajim.config.get_per('accounts', acct, 'sync_with_global_status'):
		continue
	# we are connected (so we wanna change show and status)
	# or no account is connected and we want to connect with new show and status
	if not one_connected or gajim.connections[acct].connected > 1:
		self.send_status(acct, status, message)
self.update_status_combobox()

But we don't change status of account that doesn't have 'sync_with_global_status' on but is connected. It could be easy to do that.

But then, what to do with the status_combobox ?

  1. Keep printing global status in status_combobox but still change the status of connected account(s) ? (irk!)
  2. Update the status_combobox with the status of connected account when last account with 'sync_with_global_status' comes offline ? Then what to do is more than one account are connected with different status ?
  3. status_combobox to always print global status even if all connected accounts have 'sync_with_global_status' off.

I propose 3. as the less bad but still not perfect solution.

Changed 3 years ago by asterix

is it really a bug ? I Mean combobox was already to online (as one off your other accounts is online). So you set it again to online. Gtk doesn't emit a signal when the same is selected.

My opinion is that it's not a bug ...

Changed 3 years ago by jim++

No, that not this. At the moment you said, combobox is OFFLINE. And when you set it to away then nothing happend, the connected other account doesn't change status and the main account isn't connected with away status.

Changed 3 years ago by asterix

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

fixed in [5817]

Add/Change #1724 (Set status combobox to online doesn't connect globally synchronised account)

Author



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