Bug 133253 - kopete icq plugin does not fetch nicknames / display names at all
Summary: kopete icq plugin does not fetch nicknames / display names at all
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-30 10:03 UTC by Jan "Kork" Thomä
Modified: 2007-06-15 14:05 UTC (History)
0 users

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


Attachments
Removes all aliases at login (1.66 KB, patch)
2006-08-30 12:41 UTC, Roman Jarosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan "Kork" Thomä 2006-08-30 10:03:07 UTC
Version:           0.12.2 (using KDE 3.5.4 Level "a" , unofficial build of SUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.16.21-0.13-default

The ICQ plugin does not automatically load user's nicknames. The user's properties are all set to "Display Name Source" - "From Contact", but it is only displaying the number in there, not the nickname. There is not even a manual way to make it fetch the nick name, the only way to set a nick name is to use the "Display Name" "Custom" option.
Comment 1 Roman Jarosz 2006-08-30 10:43:09 UTC
I can't reproduce, it works fine here.

There are only two reasons why you see only icq number. A contact is temporary contact so it's not on your list or you or other IM have set alias for that contact and the alias is his/her icq number.

The behavior has changed in 0.12.2 see 124940, if a contact has alias we show the alias and not nickname from user info. If the contact doesn't have alias we use nickname.

If the nickname doesn't change if you view user info than it's almost definitely the alias thing. Readding contact will remove old alias an you will see nickname.
I know that some IM clients add by default icq numbers to aliases if user doesn't change it. ( IIRC it was Trillian )
Comment 2 Jan "Kork" Thomä 2006-08-30 10:57:57 UTC
Indeed i used trillian before, so all aliases are probably set to the icq number. I got 180 contacts in my list, is there some quick way to have all the aliases removed or set to the nickname? Can i edit that alias info at all (because i found no alias field in the user info)?
Comment 3 Chani 2006-08-30 10:58:36 UTC
I have the same problem with my svn version (0.12.x, only a few days
old) - it can be manually fixed by viewing the contact's userinfo.
perhaps if I had left it alone for a while kopete would have fetched
the userinfo itself, but I didn't want to wait.
Comment 4 Jan "Kork" Thomä 2006-08-30 11:06:03 UTC
Viewing the user info doesnt work for me, so i suppose it is the alias thing. Now i would need a quick way to fix that, because i am not really looking forward to possibly re-add 180 contacts manually...
Comment 5 Roman Jarosz 2006-08-30 11:32:31 UTC
Chani there is a random delay from 1 to 20 second.

Kork, I will make patch that removes all aliases.
Comment 6 Roman Jarosz 2006-08-30 11:33:41 UTC
Kork: Just to be sure please readd one contact and tell me if you will see nickname, thanks
Comment 7 Jan "Kork" Thomä 2006-08-30 12:00:55 UTC
Ok, Re-Adding seems to restore the nickname, however this is not the preferred way as i would have to reauthorize each and every contact. So if there is an easy way to just have the aliases removed, that would be helpful.
Comment 8 Roman Jarosz 2006-08-30 12:41:18 UTC
Created attachment 17566 [details]
Removes all aliases at login

Download kopete 0.12.2 sources and unpack
You probably will have to install some debug packages if you never compiled
something for kde.

in console:
cd kopete-0.12.2
patch -p0 <patch_file_with_path.diff
./configure configure --prefix=~/kopete12
make install
KDEDIRS=~/kopete12/:$KDEDIRS
PATH=~/kopete12/bin:$PATH
LD_LIBRARY_PATH=~/kopete12/lib:$LD_LIBRARY_PATH
export KDEDIRS PATH LD_LIBRARY_PATH
kopete --nofork

Now you have kopete running. Login and kopete will remove all aliases in 30
seconds. After this run your normal kopete and you will see you nicknames.
If you do than you can remove kopete12 directory from your home dir and the
sources.

If you don't want to compile kopete I can remove it for you but that means
giving me some temp password to your icq :(
Comment 9 Jan "Kork" Thomä 2006-08-30 20:23:12 UTC
hmm ok downloaded, patched and compiled it, fired it up, waited a good 5 minutes, just to be sure, but still after restart i got numbers, only. kopete took a good minute to fire up with flaming harddisk, is that normal? 
Comment 10 Jan "Kork" Thomä 2006-08-30 20:41:43 UTC
Doh, sorry, my mistake, i produced a typo leading to the lib dir not being read. Seems to work now. The loading times are due to the statistics plugin. Will disable that one. So thank you for your really quick help (thats why i love opensource- you can fix your problems immediately). Maybe you can have that functionality added as a button in a future release of kopete, as this will help people who migrate from trillian.
Comment 11 Linus 2007-06-15 14:05:25 UTC
I seem to have the same problem (I am also using trillian on my Windows system). However I am running Kopete with Kubuntu, so I have the KDE-Version 0.12.4. I tried to start kopete "kopete --nofork" -> connect (wait some time) then restart. But I still have UINs displayed... What could I do?

Thanks in advance!
Linus