[Bug 301786] AccountsModel does not list Salut contacts on load

David Edmundson kde at davidedmundson.co.uk
Tue Nov 20 08:07:26 GMT 2012


https://bugs.kde.org/show_bug.cgi?id=301786

--- Comment #4 from David Edmundson <kde at davidedmundson.co.uk> ---
It's a bug in TpQt

The ContactManager never enters state ready. the ContactManager always remains
in state -1, which isn't even a valid enum value for the ContactManager state.

This is because when groupsroster fails, it never calls setStateSuccess

The bug appears to be in:
void ContactManager::Roster::gotContactListContacts(QDBusPendingCallWatcher
*watcher)

When running with a bit of debug:

846    if (introspectPendingOp) {
               is true

848        if (!groupsSetSuccess) {
                is false   (as in groupsSetSuccess==true)

(line numbers may be wrong due to added qDebug statements)
So nothing will ever call setStateSuccess, it just stays in limbo. 

FWIW: groupsReintrospectionRequired is false.

I'm not sure which path it's meant to go down. I "think" if you remove the "if
(!groupsSetSuccess)" and always execute this code, everything will work.
However I don't fully understand this code and don't want to edit it.

(leave this bug open until a new bug is opened on freedesktop.org, and then
close this one as upstream)

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list