[telepathy] [Bug 320570] New: TextChannelProxyWatcher cannot recover existing channels correctly

David Edmundson kde at davidedmundson.co.uk
Sat Jun 1 14:56:57 BST 2013


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

            Bug ID: 320570
           Summary: TextChannelProxyWatcher cannot recover existing
                    channels correctly
    Classification: Unclassified
           Product: telepathy
           Version: git-latest
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: common-internals
          Assignee: kde-telepathy-bugs at kde.org
          Reporter: kde at davidedmundson.co.uk

When the contact list (or any other app using TextChannelProxyWatcher) starts,
the TextChannelProxyWatcher tries to recover any existing channels and update
the model accordingly.

The second parameter to AbstractClientObserver  does this, and observeChannels
is called for each existing channel.

The TextChannelProxyWatcher then tries to search the associated model of
contacts to find which contact this channel belongs to. However, we enter a
race condition that channels can recover before the model is loaded. As such it
never finds the contact to associate the channel with.

There is no signal from the contactslistmodel to say when all contacts are
loaded, so I do not know of a good way to solve this.

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



More information about the Kde-telepathy-bugs mailing list