Bug 269859

Summary: Kopete-Skype messes up Skype's groups
Product: [Unmaintained] kopete Reporter: Richard Homonnai <Chain>
Component: Skype PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: pali.rohar
Priority: NOR    
Version First Reported In: 1.0.80   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Richard Homonnai 2011-04-01 02:27:38 UTC
Version:           1.0.80 (using KDE 4.6.1) 
OS:                Linux

I tried to look into the problems of contacts appearing anywhere just not there where I saved them on the contact list (at most times: top level).

I found out that if I move a contact into a group, Skype creates another one, with the same name. I even had ten groups of the same name, with each of them including one contact. Can this be fixed? I know Skype's API is sh*tty at best, and it's not that important - just would be a nice thing to have :)

Reproducible: Always

Steps to Reproduce:
shutdown kopete
remove your kopete-buddylist (rm .kde/share/share/kopete/contactlist.xml)
start kopete
your contacts will come again - somewhere.
try to move one, and look what happens in the Skype window

Actual Results:  
New groups are created for each contact, sometimes Skype saves them for the next session, sometimes not. Sometimes groups even seem to vanish.

Expected Results:  
Skype should have the same group/buddy structure than kopete, right?

OS: Linux (x86_64) release 2.6.36-gentoo-r8-richBOOK
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Pali Rohár 2011-08-13 12:08:18 UTC
You are right that Skype API is sh*tty. Sometimes it send that group is empty (if you have a lot of contacts in this group) and sometimes does not send that group exists. This is not problem in Kopete but in Skype API. You can try to upgrade/downgrade Skype binary client.

In Kopete Skype plugin is code which are trying to fix skype's groups. At Skype startup it scan all groups (then Skype used to send correct groups info) and Kopete are trying to move skype contacts to correct groups (as in kopete) and also merge all duplicates groups.

This problem is really hard to fix because Skype is closed and its API does not working correctly... So closing as invalid, because problem is not in Kopete.