Bug 90353 - ICQ contacts always appear as offline when are in fact online
Summary: ICQ contacts always appear as offline when are in fact online
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: ICQ and AIM Plugins (show other bugs)
Version: 0.9.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 90600 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-27 23:42 UTC by Cesar Martinez Izquierdo
Modified: 2005-01-25 16:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cesar Martinez Izquierdo 2004-09-27 23:42:58 UTC
Version:           0.9.0 (using KDE 3.3.0,  (3.1))
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-12)
OS:                Linux (i686) release 2.6.8-1-686

Hello, I added some ICQ contacts to Kopete, and after seeing them online for some minutes, I have not seen them online again.

They always appear as offline, despite they are online. I'm quite sure that they are online because I've have tested with my flatmates.

I've tried to reask autorization to them, but it doesn't works. They use different clients. One of them uses also Kopete.

I think this bug is the same as http://bugs.kde.org/show_bug.cgi?id=61223
but I report again, since 61223 is closed and considered that "the mass of different problems and the number of postings makes this bug useless" (comment #98).
So I open a clean new one.

Thank you very much.
Comment 1 Matt Rogers 2004-10-01 14:36:38 UTC
*** Bug 90600 has been marked as a duplicate of this bug. ***
Comment 2 Markus Moll 2004-10-08 01:02:38 UTC
It seems to me that these contacts are not added to the server-side contact list. 
The problem might be that you cannot have top-level entries in ICQ (anybody knows more?). No top-level contact I created in Kopete appears in the server-side list, but as soon as I move them into some group, they do appear and the status is henceforth displayed correctly.
The fact that you need to assign all newly created contacts to a group with the online client (icq2go) supports this.
Maybe Kopete should somehow complain when adding top-level ICQ contacts...
Comment 3 Cesar Martinez Izquierdo 2004-10-08 01:13:47 UTC
Hello, my contacts are in the group ICQ, they are not top level ones.

Anyway, I just created another group and moved the contacts there. Then I was asked again about the reason why I wanted to be authorised. Then I moved these contacts again to ICQ group, and I was asked again the authorisation reason, and then Kopete crashed.

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1104174720 (LWP 2907)]
[KCrash handler]
#3  0x400af48d in KopeteContact::hasProperty () from /usr/lib/libkopete.so.1
#4  0x400af564 in KopeteContact::property () from /usr/lib/libkopete.so.1
#5  0x400ac63c in KopeteContact::displayName () from /usr/lib/libkopete.so.1
#6  0x423c575f in OscarContact::requestAuth ()
   from /usr/lib/libkopete_oscar.so.1
#7  0x423e0a5b in OscarSocket::parseSSIAck ()
   from /usr/lib/libkopete_oscar.so.1
#8  0x423d0bfc in OscarSocket::slotRead () from /usr/lib/libkopete_oscar.so.1
#9  0x423d6151 in OscarSocket::qt_invoke () from /usr/lib/libkopete_oscar.so.1
#10 0x412b952c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0x415f708a in QSignal::signal () from /usr/lib/libqt-mt.so.3
#12 0x412d36ed in QSignal::activate () from /usr/lib/libqt-mt.so.3
#13 0x412daed3 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3
#14 0x4125cbcf in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#15 0x4125c1ce in QApplication::notify () from /usr/lib/libqt-mt.so.3
#16 0x40dff1a3 in KApplication::notify () from /usr/lib/libkdecore.so.4
#17 0x4124c405 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#18 0x41205c4b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#19 0x4126ef28 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#20 0x4126edd8 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#21 0x4125ce21 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#22 0x080699fd in ?? ()
#23 0xbffff9b0 in ?? ()
#24 0xbffff990 in ?? ()
#25 0xbffff990 in ?? ()
#26 0x00000000 in ?? ()
#27 0x080a815e in _IO_stdin_used ()
#28 0x00000001 in ?? ()
#29 0x080a94c0 in _IO_stdin_used ()
#30 0x080a7d76 in _IO_stdin_used ()
#31 0x080a7d8b in _IO_stdin_used ()
#32 0x080a7d5c in _IO_stdin_used ()
#33 0x00000000 in ?? ()
#34 0xbffff990 in ?? ()
#35 0x416ff620 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#36 0x0820d1a8 in ?? ()
#37 0x0805ec15 in ?? ()
#38 0x41a5ae54 in ?? () from /usr/lib/libstdc++.so.5
#39 0x416ff620 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#40 0x080fc880 in ?? ()
#41 0xbffff9d8 in ?? ()
#42 0x41a392ee in operator new () from /usr/lib/libstdc++.so.5
#43 0x41aa37f8 in __libc_start_main () from /lib/tls/libc.so.6
#44 0x41bc5f2c in ?? () from /lib/tls/libc.so.6
Comment 4 m.wege 2004-10-08 09:56:28 UTC
I have done like it was suggested in comment #2. It works, great! I was asked for asking for authorisation again, but I worked after restarting my computer. Great! So it looks like the bug can be solved by forbidding to add contacts at the root level.
About comment #3: May be your Kopete is not the newest version? I have 0.9.0.
Comment 5 Cesar Martinez Izquierdo 2004-10-08 12:15:49 UTC
I use 0.90, too.
Comment 6 Matt Rogers 2004-10-20 18:33:06 UTC
There's a twofold problem with this bug report. The first one is that apparently (i'm not completely sure on this) new contacts don't get added to the SSI when they're created. The second one is that we allow contacts that require authorization to be moved between groups (hence the crash when moving an icq contact between groups). 
Comment 7 m.wege 2004-10-20 20:11:49 UTC
I had the same problem, but I kopete didn't crash after moving them to a group. I am not a programmer. But for me it looks like: either you should forbid to place contacts on the top level, because it seems like there are not registered to icq then. Or you should fix it that the registration to icq doesn't work on the top level. 
Comment 8 Matt Rogers 2005-01-25 16:11:01 UTC
CVS commit by mattr: 

Merge the oscar_rewrite branch into HEAD. There are a ton of changes here
and while i'm not going to go over them one by one, here's a brief overview
of some of the things that have changed.

- Delayed contact creation. Contacts aren't created on the kopete list until
  we get a confirmation back from the server that they were added correctly.
 
- Timestamps of received offline messages are correct now (#45751)

- Hopefully, many many encoding problems with message receiving are fixed
  (#88033, #97116, #43701)

- Contacts that require authorization are now marked by a red 'X' over their
  icon. 

- Asking for and getting contact list authorization should be much more 
  user friendly.

- All the reported crashes (except for two dealing with ICQ RTF) are fixed

- Contact list handling in general should be more robust.

All in all, there are just a ton of changes and hopefully, your AIM and ICQ
experience within kopete should become more enjoyable. 

BUG: 92115
BUG: 97411
BUG: 86471
BUG: 88062
BUG: 89505
BUG: 89982
BUG: 90353
BUG: 87714
BUG: 88033
BUG: 97116
BUG: 45751
BUG: 43701
BUG: 86502
BUG: 93631
BUG: 95702
BUG: 84688
BUG: 92888


  M +4 -6      Makefile.am   1.32
  M +46 -13    TODO   1.12
  M +299 -609  oscaraccount.cpp   1.161
  M +61 -131   oscaraccount.h   1.73
  M +121 -663  oscarcontact.cpp   1.166
  M +83 -196   oscarcontact.h   1.89
  M +57 -0     oscarmyselfcontact.cpp   1.2
  M +59 -0     oscarmyselfcontact.h   1.2
  M +2 -2      aim/Makefile.am   1.10
  M +91 -179   aim/aimaccount.cpp   1.50
  M +43 -54    aim/aimaccount.h   1.20
  M +158 -248  aim/aimcontact.cpp   1.65
  M +64 -74    aim/aimcontact.h   1.24
  M +23 -34    aim/aimprotocol.cpp   1.29
  M +56 -57    aim/aimprotocol.h   1.11
  M +67 -64    aim/aimuserinfo.cpp   1.18
  M +0 -1      aim/aimuserinfo.h   1.10
  M +1 -1      aim/kopete_aim.desktop   1.33
  M +1 -1      aim/ui/Makefile.am   1.4
  M +2 -4      aim/ui/aimaddcontactpage.cpp   1.10
  M +8 -14     aim/ui/aimaddcontactpage.h   1.4
  M +13 -4     aim/ui/aimeditaccountui.ui   1.31
  M +40 -35    aim/ui/aimeditaccountwidget.cpp   1.23
  M +21 -17    aim/ui/aimeditaccountwidget.h   1.9
  M +4 -7      icq/Makefile.am   1.12
  M +201 -228  icq/icqaccount.cpp   1.58
  M +70 -54    icq/icqaccount.h   1.24
  M +218 -279  icq/icqcontact.cpp   1.67
  M +86 -130   icq/icqcontact.h   1.30
  M +226 -0    icq/icqpresence.cpp   1.2
  M +176 -0    icq/icqpresence.h   1.2
  M +72 -372   icq/icqprotocol.cpp   1.63
  M +62 -73    icq/icqprotocol.h   1.17
  M +1 -1      icq/kopete_icq.desktop   1.36
  M +0 -2      icq/ui/.cvsignore   1.4
  M +7 -4      icq/ui/Makefile.am   1.5
  M +85 -344   icq/ui/icqadd.ui   1.12
  M +38 -262   icq/ui/icqaddcontactpage.cpp   1.21
  M +26 -35    icq/ui/icqaddcontactpage.h   1.8
  M +69 -0     icq/ui/icqauthreplydialog.cpp   1.2
  M +45 -0     icq/ui/icqauthreplydialog.h   1.2
  M +202 -0    icq/ui/icqauthreplyui.ui   1.2
  M +136 -141  icq/ui/icqeditaccountui.ui   1.47
  M +33 -472   icq/ui/icqeditaccountwidget.cpp   1.43
  M +19 -42    icq/ui/icqeditaccountwidget.h   1.18
  M +481 -0    icq/ui/icqgeneralinfo.ui   1.2
  M +68 -0     icq/ui/icqotherinfowidget.ui   1.2
  M +442 -0    icq/ui/icqsearchbase.ui   1.2
  M +141 -0    icq/ui/icqsearchdialog.cpp   1.2
  M +60 -0     icq/ui/icqsearchdialog.h   1.2
  M +138 -0    icq/ui/icquserinfowidget.cpp   1.2
  M +55 -0     icq/ui/icquserinfowidget.h   1.2
  M +219 -0    icq/ui/icqworkinfowidget.ui   1.2
  M +2 -0      liboscar/.cvsignore   1.2
  M +12 -0     liboscar/DESIGN   1.2
  M +194 -0    liboscar/HACKING   1.2
  M +28 -0     liboscar/Makefile.am   1.2
  M +77 -0     liboscar/TODO   1.2
  M +382 -0    liboscar/aimlogintask.cpp   1.2
  M +82 -0     liboscar/aimlogintask.h   1.2
  M +91 -0     liboscar/blmlimitstask.cpp   1.2
  M +43 -0     liboscar/blmlimitstask.h   1.2
  M +474 -0    liboscar/buffer.cpp   1.2
  M +248 -0    liboscar/buffer.h   1.2
  M +270 -0    liboscar/bytestream.cpp   1.2
  M +78 -0     liboscar/bytestream.h   1.2
  M +206 -0    liboscar/changevisibilitytask.cpp   1.2
  M +58 -0     liboscar/changevisibilitytask.h   1.2
  M +675 -0    liboscar/client.cpp   1.2
  M +368 -0    liboscar/client.h   1.2
  M +115 -0    liboscar/clientreadytask.cpp   1.2
  M +44 -0     liboscar/clientreadytask.h   1.2
  M +270 -0    liboscar/closeconnectiontask.cpp   1.2
  M +67 -0     liboscar/closeconnectiontask.h   1.2
  M +207 -0    liboscar/connection.cpp   1.2
  M +154 -0    liboscar/connection.h   1.2
  M +62 -0     liboscar/connector.cpp   1.2
  M +59 -0     liboscar/connector.h   1.2
  M +245 -0    liboscar/coreprotocol.cpp   1.2
  M +109 -0    liboscar/coreprotocol.h   1.2
  M +66 -0     liboscar/errortask.cpp   1.2
  M +39 -0     liboscar/errortask.h   1.2
  M +72 -0     liboscar/flapprotocol.cpp   1.2
  M +46 -0     liboscar/flapprotocol.h   1.2
  M +134 -0    liboscar/icbmparamstask.cpp   1.2
  M +55 -0     liboscar/icbmparamstask.h   1.2
  M +113 -0    liboscar/icqlogintask.cpp   1.2
  M +47 -0     liboscar/icqlogintask.h   1.2
  M +151 -0    liboscar/icqtask.cpp   1.2
  M +63 -0     liboscar/icqtask.h   1.2
  M +213 -0    liboscar/icquserinfo.cpp   1.2
  M +195 -0    liboscar/icquserinfo.h   1.2
  M +224 -0    liboscar/icquserinfotask.cpp   1.2
  M +75 -0     liboscar/icquserinfotask.h   1.2
  M +100 -0    liboscar/inputprotocolbase.cpp   1.2
  M +72 -0     liboscar/inputprotocolbase.h   1.2
  M +86 -0     liboscar/locationrightstask.cpp   1.2
  M +57 -0     liboscar/locationrightstask.h   1.2
  M +219 -0    liboscar/logintask.cpp   1.2
  M +144 -0    liboscar/logintask.h   1.2
  M +392 -0    liboscar/md5.c   1.2
  M +93 -0     liboscar/md5.h   1.2
  M +236 -0    liboscar/messagereceivertask.cpp   1.2
  M +102 -0    liboscar/messagereceivertask.h   1.2
  M +159 -0    liboscar/offlinemessagestask.cpp   1.2
  M +54 -0     liboscar/offlinemessagestask.h   1.2
  M +97 -0     liboscar/onlinenotifiertask.cpp   1.2
  M +60 -0     liboscar/onlinenotifiertask.h   1.2
  M +138 -0    liboscar/oscarbytestream.cpp   1.2
  M +72 -0     liboscar/oscarbytestream.h   1.2
  M +425 -0    liboscar/oscarclientstream.cpp   1.2
  M +165 -0    liboscar/oscarclientstream.h   1.2
  M +108 -0    liboscar/oscarconnector.cpp   1.2
  M +69 -0     liboscar/oscarconnector.h   1.2
  M +349 -0    liboscar/oscartypeclasses.cpp   1.2
  M +210 -0    liboscar/oscartypeclasses.h   1.2
  M +252 -0    liboscar/oscartypes.h   1.2
  M +252 -0    liboscar/oscarutils.cpp   1.2
  M +75 -0     liboscar/oscarutils.h   1.2
  M +86 -0     liboscar/ownuserinfotask.cpp   1.2
  M +53 -0     liboscar/ownuserinfotask.h   1.2
  M +72 -0     liboscar/prmparamstask.cpp   1.2
  M +42 -0     liboscar/prmparamstask.h   1.2
  M +116 -0    liboscar/profiletask.cpp   1.2
  M +56 -0     liboscar/profiletask.h   1.2
  M +228 -0    liboscar/rateclass.cpp   1.2
  M +126 -0    liboscar/rateclass.h   1.2
  M +157 -0    liboscar/rateclassmanager.cpp   1.2
  M +76 -0     liboscar/rateclassmanager.h   1.2
  M +172 -0    liboscar/rateinfotask.cpp   1.2
  M +64 -0     liboscar/rateinfotask.h   1.2
  M +2427 -0   liboscar/rtf.cc   1.2
  M +864 -0    liboscar/rtf.ll   1.2
  M +207 -0    liboscar/rtf2html.h   1.2
  M +139 -0    liboscar/safedelete.cpp   1.2
  M +79 -0     liboscar/safedelete.h   1.2
  M +94 -0     liboscar/senddcinfotask.cpp   1.2
  M +41 -0     liboscar/senddcinfotask.h   1.2
  M +57 -0     liboscar/sendidletimetask.cpp   1.2
  M +46 -0     liboscar/sendidletimetask.h   1.2
  M +203 -0    liboscar/sendmessagetask.cpp   1.2
  M +47 -0     liboscar/sendmessagetask.h   1.2
  M +166 -0    liboscar/serverversionstask.cpp   1.2
  M +57 -0     liboscar/serverversionstask.h   1.2
  M +123 -0    liboscar/servicesetuptask.cpp   1.2
  M +69 -0     liboscar/servicesetuptask.h   1.2
  M +102 -0    liboscar/snacprotocol.cpp   1.2
  M +46 -0     liboscar/snacprotocol.h   1.2
  M +50 -0     liboscar/ssiactivatetask.cpp   1.2
  M +38 -0     liboscar/ssiactivatetask.h   1.2
  M +196 -0    liboscar/ssiauthtask.cpp   1.2
  M +60 -0     liboscar/ssiauthtask.h   1.2
  M +157 -0    liboscar/ssilisttask.cpp   1.2
  M +109 -0    liboscar/ssilisttask.h   1.2
  M +429 -0    liboscar/ssimanager.cpp   1.2
  M +131 -0    liboscar/ssimanager.h   1.2
  M +448 -0    liboscar/ssimodifytask.cpp   1.2
  M +127 -0    liboscar/ssimodifytask.h   1.2
  M +99 -0     liboscar/ssiparamstask.cpp   1.2
  M +43 -0     liboscar/ssiparamstask.h   1.2
  M +31 -0     liboscar/stream.cpp   1.2
  M +75 -0     liboscar/stream.h   1.2
  M +286 -0    liboscar/task.cpp   1.2
  M +114 -0    liboscar/task.h   1.2
  M +367 -0    liboscar/transfer.cpp   1.2
  M +169 -0    liboscar/transfer.h   1.2
  M +354 -0    liboscar/userdetails.cpp   1.2
  M +85 -0     liboscar/userdetails.h   1.2
  M +153 -0    liboscar/userinfotask.cpp   1.2
  M +69 -0     liboscar/userinfotask.h   1.2
  M +173 -0    liboscar/usersearchtask.cpp   1.2
  M +61 -0     liboscar/usersearchtask.h   1.2
  M +93 -0     liboscar/warningtask.cpp   1.2
  M +59 -0     liboscar/warningtask.h   1.2
  M +7 -0      liboscar/tests/.cvsignore   1.2
  M +19 -0     liboscar/tests/Makefile.am   1.2
  M +49 -0     liboscar/tests/clientstream_test.cpp   1.2
  M +49 -0     liboscar/tests/clientstream_test.h   1.2
  M +56 -0     liboscar/tests/logintest.cpp   1.2
  M +53 -0     liboscar/tests/logintest.h   1.2
  M +73 -0     liboscar/tests/ssigrouptest.cpp   1.2
  M +54 -0     liboscar/tests/ssigrouptest.h   1.2
  M +111 -0    liboscar/tests/ssitest.cpp   1.2
  M +34 -0     liboscar/tests/ssitest.h   1.2
  M +67 -0     liboscar/tests/userinfotest.cpp   1.2
  M +53 -0     liboscar/tests/userinfotest.h   1.2
  R            Doxyfile   1.3
  R            README.login   1.1
  R            icq/icqsendsmsdialog.cpp   1.1
  R            icq/icqsendsmsdialog.h   1.1
  R            icq/icquserinfo.cpp   1.21
  R            icq/icquserinfo.h   1.11
  R            oscarsocket/.cvsignore   1.1
  R            oscarsocket/Makefile.am   1.25
  R            oscarsocket/aim.cpp   1.9
  R            oscarsocket/aim.h   1.8
  R            oscarsocket/buffer.cpp   1.44
  R            oscarsocket/buffer.h   1.31
  R            oscarsocket/md5.c   1.1
  R            oscarsocket/md5.h   1.1
  R            oscarsocket/oncomingsocket.cpp   1.23
  R            oscarsocket/oncomingsocket.h   1.11
  R            oscarsocket/oscar_fam01.cpp   1.3
  R            oscarsocket/oscar_fam04.cpp   1.10
  R            oscarsocket/oscar_fam19.cpp   1.10
  R            oscarsocket/oscarcaps.cpp   1.5
  R            oscarsocket/oscarcaps.h   1.4
  R            oscarsocket/oscarconnection.cpp   1.32
  R            oscarsocket/oscarconnection.h   1.24
  R            oscarsocket/oscardebug.h   1.5
  R            oscarsocket/oscardirectconnection.cpp   1.24
  R            oscarsocket/oscardirectconnection.h   1.10
  R            oscarsocket/oscarfilesendconnection.cpp   1.14
  R            oscarsocket/oscarfilesendconnection.h   1.8
  R            oscarsocket/oscarmessage.cpp   1.6
  R            oscarsocket/oscarmessage.h   1.1
  R            oscarsocket/oscarsocket.aim.cpp   1.33
  R            oscarsocket/oscarsocket.cpp   1.213
  R            oscarsocket/oscarsocket.h   1.126
  R            oscarsocket/oscarsocket.icq.cpp   1.73
  R            oscarsocket/oscarsocket.icq.h   1.14
  R            oscarsocket/oscartypes.h   1.9
  R            oscarsocket/rateclass.cpp   1.5
  R            oscarsocket/rateclass.h   1.3
  R            oscarsocket/rtf.cc   1.5
  R            oscarsocket/rtf.ll   1.5
  R            oscarsocket/rtf2html.h   1.2
  R            oscarsocket/ssidata.cpp   1.22
  R            oscarsocket/ssidata.h   1.16