Opened 9 years ago

Last modified 9 years ago

#11700 new defect

IRC contacts appearing offline when they are online.

Reported by: xeian Owned by: elb
Milestone: Component: IRC
Version: 2.6.6 Keywords:
Cc:

Description

Possibly related to #8331, but for IRC. Repro steps are not consistent, but this is how it usually goes:

  1. Add contact to list (either by right-clicking on them in the channel users list and selecting "Add", or using the "Add" menu option in a PM window), specifying a group to place them in.
  1. New contact will appear online in list briefly.
  1. Some seconds later (5-10 usually), they will go offline again.

ISSUE: Contacts will appear offline in the contact list even when they are online (sometimes they will appear online briefly for a few seconds first). I am unable to PM them even if I double-click their name in a shared channel. I have no trouble with the same users under different nicks. It does not affect every contact - it's about a quarter to a third of the contacts on my list.

This occurs in different ways. When this first started happening, about a week ago, contacts who had been on my list for weeks suddenly started going offline when I was in the middle of PM-ing them. I was using 2.5.7 when it started happening, and have just updated to 2.6.6 (and it's still occurring).

I'm running Pidgin 2.6.6 on Windows XP with SP2, and a total of 8 chat rooms (all gathered in a single group), and 55 individual contacts (split into three groups).

Change History (4)

comment:1 follow-up: Changed 9 years ago by elb

This is because of the problem addressed by #9692. You simply have too many buddies in your IRC "buddy list".

IRC has no real notion of a buddy list, so we must periodically poll the server for buddy online-ness. If you have more buddies in your list than fit in a single query, the server silently fails to return some results, leading us to believe those buddies are offline.

comment:2 in reply to: ↑ 1 Changed 9 years ago by xeian

Ah, thank you elb. Is there an approximate number of contacts I should be aiming to stay under, or ... #9692 looks like it hasn't been touched for a while, can we hope for a patch for this issue?

comment:3 Changed 9 years ago by elb

There is a patch on #9692, and I'm ashamed to say that it's largely my fault that nothing has been done with it.

There are a number of intertwined problems here. The basic problem is that IRC was never meant for this, and we're abusing the protocol to make it happen -- in a fashion which puts load on the servers and requires quite a bit of data to travel back and forth. We rate limit our requests, which is why online/offline status in your buddy list will lag "real" logins and logouts, but still.

There is no specific number of contacts you need to stay under. If you add together the length of the usernames of your contacts in ASCII characters and add the number of contacts, keeping this sum under about 450 should put you in safe territory. Assuming that the average nick length is somewhere around 8 characters, this means about 50 contacts.

comment:4 Changed 9 years ago by xeian

*nods* I think I've found a roughly stable number to work with, removed quite a few. :)

And yes, I was thinking that IRC wasn't really suited to an IM client environment; tracking individual nicks rather than accounts tends to blow my contact list out of proportion as well, given some people's serial nickchanging habits.

I'll stick with the limited list for now, and hope that you have the time to get that patch working with the newer versions! :) Or some other fix.

Thanks again.

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!