Kopete gives error when you're on your own contact list

Bug #46657 reported by Joseph Garvin
22
Affects Status Importance Assigned to Milestone
KDE Network
Fix Released
Medium
kdenetwork (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: kopete

Kopete complains that if you have yourself in your own AIM contact list that, "this is not allowed." But infact on the AIM network it _is_ allowed. Kopete will prevent you from adding it -- which would be a fine behavior, except that if you add yourself with another IM client (probably the vanilla windows one) when you first login it will complain that you're trying to add yourself to your contact list. Kopete should just accept it when it finds you already have yourself in your contact list.

Revision history for this message
Joseph Garvin (k04jg02) wrote :

This seems to be fixed in Edgy.

Revision history for this message
Lothar Braun (typecast) wrote :

No, it's not fixed. How to reproduce it:

1.) Install gaim and configure your AIM/ICQ account
2.) Signon with gaim
3.) Add yourself to your contact list
4.) Sign off in gaim
5.) Sign your account on in kopete

You'll get the message:

You are not allowed to add yourself to the contact list. The addition of "your_account_name" to account "your_account_name" will not take place.

Tested with kopete_3.5.5+kopete0.12.3-0ubuntu1

Changed in kdenetwork:
status: Unconfirmed → Confirmed
Revision history for this message
Joseph Garvin (k04jg02) wrote :

I haven't tested, but I'm guessing the reason I didn't experience the issue is because of my existing kopeterc file when I ran Edgy. Listen to Lothar, the bug is probably still present :)

Revision history for this message
Marco Rodrigues (gothicx) wrote :

Still a issue for you on Feisty / Gutsy ?

Changed in kdenetwork:
assignee: nobody → gothicx
status: Confirmed → Incomplete
Revision history for this message
Marco Rodrigues (gothicx) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in kdenetwork:
status: Incomplete → Invalid
Revision history for this message
Lothar Braun (typecast) wrote :

Dear Marco,

this bug is still valid. I gave you a perfect way on how to reproduce the problem (you might substitute gaim with pidgin, if you run a gutsy-box), which is still valid. Please don't close this bug report, until you cannot reproduce the problem with the steps given at https://bugs.launchpad.net/ubuntu/+source/kdenetwork/+bug/46657/comments/2

I think this is an upstream bug, because i can see this problem with other distributions, too (it can be reproduced on arch linux with the steps given at comment #2, too).

It would be cool if someone could do some more investigation and check if this a known upstream bug and file a new report, if it is not known to the kopete developers. I don't have the time to do further investigations on that bug myself :-(

Best regards,
  Lothar

Changed in kdenetwork:
status: Invalid → Confirmed
Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

no, this is definetly still valid.

Upstream knows about this, just hasnt had a lot of time.

Marco, please don't close a whole bunch of bugs like this - at least *check* for it before closing.

Also, the timeouts are at least a month, not 24 days.

Changed in kdenetwork:
assignee: gothicx → nobody
Revision history for this message
Don (dilidon) wrote :

I confirm. It is valid. I get these errors regarding both AIM and also ICQ.
It can be reproduced the way described above by using Kopete after having used Gaim (or Trillian or Miranda under a windows machine) or any other client that has allowed adding oneself earlier. I am using Ubuntu 7.04 and Kopete 0.11.92 (0.12 Beta 1).
Btw, having one's own contacts in the list even has a few benefits, so don't even think Kopete should make an effort trying to restrict it).

Revision history for this message
Joachim Schiele (js-lastlog) wrote :

quick fix for kopete-3.5.5

i thought that this nasty bug would go away soon because it's so easy to fix. anyway here is my 'great' patch for this nonsense.

Revision history for this message
Joachim Schiele (js-lastlog) wrote :

this patch is hopefully what we want. a kopete developer noticed when using information() instead of using queuedMessageBox() might crash kopete. i couldn't reproduce this and i tried pretty hard. maybe someone else has more luck crashing it.

i will post this bug in the kopete bug tracker as well.

# diff kopeteaccount.cpp /tmp/kopeteaccount.cpp
257,259c257,261
< KMessageBox::queuedMessageBox( Kopete::UI::Global::mainWidget(), KMessageBox::Error,
< i18n("You are not allowed to add yourself to the contact list. The addition of \"%1\" to account \"%2\" will not take place.").arg(contactId,accountId()), i18n("Error Creating Contact")
< );
---
> QString text = QString().fromAscii("You can't add your own contact to your own contact list in kopete!");
> QString caption = QString().fromAscii("icq contact issue");
> QString name = QString().fromAscii("kopete won't add your own contact to your own contact list");
>
> KMessageBox::information(Kopete::UI::Global::mainWidget(), text, caption, name);
320a323,324
> // this function will be called if you're own contact id wasn't yet added to your
> // contact list
325a330
>

have fun

Revision history for this message
mpgarate (mpgarate) wrote :

This bug still exists and is really annoying.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Lowering importance. Annoying, but not of the originally inflated importance (medium).

Changed in kdenetwork:
importance: Medium → Low
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

The good news is that this has a good chance of getting fixed in KDE 4.3. The bad news is that that is a good 6 months away. Oh well.

Changed in kdenetwork:
status: Confirmed → Triaged
Changed in kdenetwork:
status: Unknown → Confirmed
Changed in kdenetwork:
status: Confirmed → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

A fix has been committed upstream for KDE 4.3. Unfortunately the change is too large/invasive for us to include in our Kubuntu 9.04 KDE packages. Once KDE 4.3 hits the development version of kubuntu 9.10 I will close this bug. Thanks for the bug report.

Changed in kdenetwork (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

The fix has been released to the development version of Kubuntu 9.10.

Changed in kdenetwork (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

I have this issue under Jaunty with the KDE 4.2.85 (beta1) release. Every few minutes or so, I get a warning from my hotmail and Yahoo IM.

It gets worse if I leave the system booted overnight, and when I attempt to use Kopete again, I have many many warnings, and have to either click and close them all or kill kopete.

Revision history for this message
Tom Shaw (firephoto) wrote :

Still happening with KDE 4.2.90 (KDE 4.3 Beta2) after I upgraded from KDE 4.2.4. Message pops up when my yahoo account connects.

Revision history for this message
Antonio (antonio-merker) wrote :

Still happening with Kopete 0.70.90 / KDE 4.3.0 in Jaunty, with clean Kopete config files, when connecting with my Yahoo account. (I deleted everything Kopete-related in ~/.kde/share/config/ and ~/.kde/share/apps/kopete*/)

Revision history for this message
Tom Shaw (firephoto) wrote :

I went to http://webmessenger.yahoo.com/ and once logged in saw that I indeed had myself in the contact list. Removed myself and the problem with Kopete goes away.

Changed in kdenetwork:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.