Bug 69734

Summary: Some aim contacts appear offline
Product: [Unmaintained] kopete Reporter: nick <npaulin>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nick 2003-12-06 16:48:42 UTC
Version:           0.7.94 (using KDE KDE 3.1.94)
Installed from:    Gentoo Packages
Compiler:           gcc 3.2.3-r3 used flags "-march=athlon-tbird -O3 -pipe -mmmx"
OS:          Linux

The description sums it up fairly well.  The contacts I cannot see most definitly use Windows and a version of aim (unkown).  I know they are online also because when I talk on the phone to them and then they send me a message and I can't send one back.... you know there's something a little flaky.  This has happened twice to my knowledge and both times they added me to their list first, then I added them.

I will repost when I know which version of AIM they are using, if that will be useful.  Thanks.
Comment 1 Casey Allen Shobe 2003-12-06 22:15:05 UTC
Subject: Re: [Kopete-devel]  New: Some aim contacts appear offline

On Sat, December 06 2003 10:48, nick wrote:
> I will repost when I know which version of AIM they are using, if that will
> be useful.

No need, the client of the other person has nothing to do with it.  It's a 
flaw that lies between Kopete and the AIM plugin.  From my limited 
understanding, the AIM protocol uses some form of authorization to allow you 
to see the user on your list, and if you don't add them to your list, that 
authorization doesn't get sent (or something to that effect).  End result is 
that you cannot see their online presence, and the plugin blocks you from 
messaging offline contacts because normally this is not possible (though it 
might (?) work in this case -- Stefan - what would happen if you did not 
block sending of an offline message for now?  It wouldn't be a fix of course, 
but it may make the situation a little better as you could at least message 
back contacts who messaged you first).

Comment 2 nick 2003-12-06 23:36:52 UTC
I thought I might try to re-add this contact to my list.  Then I realized I am unable to add new contacts in the AIM protocol.  I don't know if this is common among other protocols since i rarely have to add people.  I'm going to try recompiling and see what happens
Comment 3 Casey Allen Shobe 2003-12-07 02:21:09 UTC
You should be able to add contacts without issue, so I would hazard to guess that it is a problem with your build.  I've noticed that deleting and re-adding in the same session does *not* work, and indeed even after logging off and back on, the contact still appears offline.  The only thing I have not tried is deleting, restarting Kopete, and then re-adding, which may be sufficient - I do not know.  But I have 3 AIM accounts, so whenever somebody messages me, I add them to my other account list, then write them back from it and explain the situation.  It's a very ugly scenario, but gets me by for the time being.
Comment 4 Casey Allen Shobe 2003-12-07 02:24:24 UTC
Whoops, I just realized that this was a duplicate (had I noticed before, I would have marked it and added my comments to the other, but alas).  It already exists as #5 in the list of most hated bugs in all of KDE (that is, bugs with the most votes), and is well-known (for obvious reasons).  Unfortunately, the AIM protocol author has stated that this will not be fixed by KDE 3.2 unless somebody else can help figure it out.  So far, no luck in that.

*** This bug has been marked as a duplicate of 61223 ***
Comment 5 Stefan Gehn 2003-12-07 10:33:06 UTC
> fortunately, the AIM protocol author has stated
I doubt Matt has said anything about this bug.

> that this will not be fixed by KDE 3.2 unless somebody else can help figure >it out. So far, no luck in that. 
The bug cause is known but it needs a total rewrite of the contactlist management and that just can't be done before 3.2, as easy as that.
Comment 6 Casey Allen Shobe 2003-12-07 15:42:13 UTC
Subject: Re: [Kopete-devel]  Some aim contacts appear offline

On Sun, December 07 2003 04:33, Stefan Gehn wrote:
> > fortunately, the AIM protocol author has stated
>
> I doubt Matt has said anything about this bug.

I thought you were the maintainer???

> > that this will not be fixed by KDE 3.2 unless somebody else can help
> > figure >it out. So far, no luck in that.
>
> The bug cause is known but it needs a total rewrite of the contactlist
> management and that just can't be done before 3.2, as easy as that.

Hmm...so things have progressed a bit then?  Could you give me a bit of detail 
about the problem?

Is this because of the freezes or because of the sheer amount of work to be 
done?  If it's just because of the amount of work, then there's always a 
chance that resources will come out of the woodwork (unlikely yes).  If it's 
because of the freezes then we're just stuck entirely.

Comment 7 Martijn Klingens 2003-12-07 16:29:58 UTC
Subject: Re: [Kopete-devel]  Some aim contacts appear offline

On Sunday 07 December 2003 15:42, Casey Allen Shobe wrote:
> Is this because of the freezes or because of the sheer amount of work to be
> done?  If it's just because of the amount of work, then there's always a
> chance that resources will come out of the woodwork (unlikely yes).  If
> it's because of the freezes then we're just stuck entirely.

The required changes are pretty intrusive and almost impossible to do without 
causing regressions. Now is not a very good timing to start changing this :)

Comment 8 Casey Allen Shobe 2003-12-07 19:17:46 UTC
> The required changes are pretty intrusive and almost impossible to do
> without causing regressions. Now is not a very good timing to start changing
> this :) 

Am I the only one on kopete-devel who thinks that this is a serious problem?  In fact *the* most serious Kopete problem we have?  I'm certainly not the only user, judging by this bug being #5 in the most hated list.  I really doubt you could make the AIM plugin any worse overall by introducing regressions right now.  It's nearly unusable like this, and I'm sure that there are a lot of users keeping GAIM around just for their AIM accounts.
Comment 9 Casey Allen Shobe 2003-12-07 19:20:09 UTC
And furthermore I'll guarantee that if this bug makes it into the KDE release, we're going to see *hundreds* of these duplicate reports and unrelated comments, etc. etc.
Comment 10 Martijn Klingens 2003-12-07 19:22:35 UTC
Subject: Re: [Kopete-devel]  Some aim contacts appear offline

On Sunday 07 December 2003 19:17, Casey Allen Shobe wrote:
> I really doubt you could make the AIM plugin any worse overall by
> introducing regressions right now.  It's nearly unusable like this, and I'm
> sure that there are a lot of users keeping GAIM around just for their AIM
> accounts. 

If that's true then by all means try to fix it. I don't use AIM. I have one 
account somewhere, but no buddies that use it, and technically the protocol 
is even less capable than MSN. Actually only ICQ and Jabber are acceptable to 
me, as only those support offline messages and invisibility, but that's 
another issue.

If someone can dig up Stefan's mail about what needs to change (it's a huge 
list) then someone could try it.

Comment 11 Casey Allen Shobe 2003-12-07 19:43:43 UTC
Subject: Re: [Kopete-devel]  Some aim contacts appear offline

On Sun, December 07 2003 13:22, Martijn Klingens wrote:
> If that's true then by all means try to fix it.

Believe me, if I were versed enough in C++, I'd be working on it right now.  I 
cannot contribute help to this though...sorry :(.

> I don't use AIM. I have one account somewhere, but no buddies that use it,
> and technically the protocol is even less capable than MSN. Actually only
> ICQ and Jabber are acceptable to me, as only those support offline messages
> and invisibility, but that's another issue.

Yes, it is.  It really doesn't matter how unpopular the protocol is, this is 
very basic core functionality that really really needs to work right if the 
plugin is to be included in a release (and AIM is actually quite popular, 
probably *the* most popular among our userbase).

> If someone can dig up Stefan's mail about what needs to change (it's a huge
> list) then someone could try it.

Yes, let's get that information, and get it attached to the bug report.  
That's really all we can do at this point (until somebody with time and 
capability of making the changes shows up).

Comment 12 David 2004-02-17 16:17:29 UTC
All my contacts use AIM and yes, Kopete as of KDE 3.2 is unusable. Contacts are shown offline when they are not. You can view a message from them, but not talk back. Gaim loads all the contacts at startup, even adding them manually with kopete doesn't work here.
Comment 13 Stefan Gehn 2004-02-17 16:50:40 UTC
Works fine here