Opened 12 years ago

Last modified 12 years ago

#743 new enhancement

Switch accounts on-the-fly

Reported by: tinloaf Owned by: seanegan
Milestone: Component: libpurple
Version: 2.0 Keywords:
Cc: Dawudd

Description

If I have a buddy with two accounts grouped into one contact (let's say, one ICQ and one MSN account), and I open a conversation with him, this works wonderfully. Now let's say the conversation was opened via ICQ, so I'm talking to my contact via his ICQ account. If now my contact goes offline with his ICQ account, but stays online with the MSN account, the conversation tab switches to "offline"-state, and further messages are still sent to the (offline) ICQ-account.

I would consider it better if now pidgin would print some message like "Switching protocols", switch to one of the online accounts, and lets me continue the conversation.

I'm not really shure wether this is intended or not, so I don't know wether to file this as a defect or enhancement...

Change History (8)

comment:1 Changed 12 years ago by lschiere

  • Owner set to seanegan
  • Type changed from defect to enhancement

The code is behaving as intended, but I think I like what you are describing better.

Sean, what do you think?

comment:2 follow-up: Changed 12 years ago by rlaager

Why is someone signing off one account, but not all of them in the middle of a conversation?

Sean, any thoughts here? I'm not sure I like this, because connection errors would cause some accounts to appear offline sooner than others and this would lead to useless switching.

comment:3 Changed 12 years ago by deryni

We could switch on sending the next message, perhaps with a confirmation dialog first (though that would likely get horribly annoying), which would save switching unless it was actually needed.

As to signing off one account but not all, I have contacts that contain secondary addresses of people that they use when in remote locations for quick online activity, as well as contacts with work and home addresses.

comment:4 Changed 12 years ago by tinloaf

Well, I have no clue *why* someone signs off only one account, but there are people who do... (I just noticed this by someone going offline with only one account ;-))

The "switch on message send" is not bad, but has one problem: The status icon of the tab will go to "offline". If I now look at all my open tabs, I will see this one contact as "offline" - though there are some online accounts of this contact. Kind of confusing to me. ;-)

comment:5 follow-up: Changed 12 years ago by phroggie

I find that the buddy state notification plugin is enough to handle this. I'm having troubles picturing the dialog (ewwww) of what this might look like. Although, a plugin writing in the conversation window something like "this buddy has signed offline, future messages will be sent to $screenname via $network" and immediately switching to next available buddy might do it, at least for those that look at the window before hitting send.

comment:6 in reply to: ↑ 5 Changed 12 years ago by tinloaf

Replying to phroggie:

I find that the buddy state notification plugin is enough to handle this.

I don't know if we are talking about the same plugin, but the plugin I associate with "buddy state notification plugin" (I compiled Pidgin in German, so I'm not really shure wether it's the same) does only write "$account has gone offline" (or something similar in English...) into my conversation window, but that's exactly not what I want: If I see this notification, I have to assume that my contact is offline, but maybe there is still an account online, so my contact is still online, too?

So, talking about this, perhaps this plugin should also be changed to only display the "Buddy has gone offline"-message if the last account of a contact has signed off...

comment:7 Changed 12 years ago by seanegan

This is useful. If I'm logged in at home, and then log in at work. And my Pidgin crashes at work, the other person will currently start sending messages to my home account, completely oblivious to that fact. A message like "so-and-so has signed off. messages will now go to so-and-so2" would help.

You could, even, then if the user signs back on within a minute, perhaps, say "so-and-so is back online. Would you like to send messages to him?" It would be important to make such messages as unintrusive as possible.

-s.

comment:8 in reply to: ↑ 2 Changed 12 years ago by clacke

Replying to rlaager:

Why is someone signing off one account, but not all of them in the middle of a conversation?

This happens from time to time when a particular IM network goes down. And, not all people use Pidgin, some use original software, which in some cases is really unstable. So if you start your conversation on YM and the other side crashes, you could continue on GTalk.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!