Because of bug 311372 to have working gadu-gadu account I used to do flowing steps:
1 Create telepathy-sunshine account in mc-tool (without gnome keyring)
2. Remove old ts account
3. Enable account created in step one.
(it could be done also in another order)
After restart/relogon telepathy-sunshine acount wasn't present in mission-control. However, it was still listed in KTP KCM. That's why i need to repeat all steps every time.
In 0.6 Old account isn't displayed any more. That's ok because I don't need to remove it. The problem is that there is still (empty) group in contact list for that account. And I have no option to remove it.
Steps to Reproduce:
1.Create telepathy-sunshine account in mc-tool without storing in in Gnome-keyring
2.Enable it in KTP
4 Login Again
There is no account in mc as wel as in KTP acounts kcm. But there is group for it in Contact list.
No group in Contact list or (like in 0.5) display that account to be able to remove it correctly
Created attachment 78908 [details]
Contact list view
Multiply account. Only the last one is related to existing acount
Created attachment 78910 [details]
As you can see there is only one gadu-gadu account
When you close/reopen the contact list do these ghost entries go away?
After reopening contact list nothing changes.
I found what's going on. Account wasn't displayed by mc-tool list, but was still remembered by telepathy mc. Accounts had flag invalid and that account wasn't displayed by mc and ktp 0.6.
After removing accounts by mc-tool unnecessary groups disappeared.
I thing to avoid confusion invalid accounts shod be displayed in accounts kcm but should be marked somehow.
For me there is no problem now. I wrote script removing and reading account at startup.
Confirming this bug, I never once thought to check account validity as well as the enabled flag.
Git commit a5f7989e6f588ba265701f020d600989b7d21823 by Martin Klapetek.
Committed on 13/04/2014 at 21:32.
Pushed by mklapetek into branch 'kde-telepathy-0.8'.
Add contacts only from valid accounts
Reviewed-by: David Edmundson
M +5 -3 KTp/Models/accounts-tree-proxy-model.cpp
M +4 -2 KTp/global-contact-manager.cpp