Summary: | ContactManager::addGroup and removeGroup are confusing/broken | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Olli Salli <ollisal> |
Component: | tp-qt | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | minor | ||
Priority: | medium | ||
Version: | git master | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Olli Salli
2010-08-21 09:27:11 UTC
Waiting for groupAdded() is especially error-prone when adding multiple groups at a time. If the PendingOperations would actually finish at an useful time, the application could add whatever it wanted to the groups when the finished signal for the desired group would be emitted. However, now that it has to (probably) wait for groupAdded(), it has to take care to ignore groupAdded for the other added groups when waiting to be able to add to a desired group, but also cater for other callbacks to be able to pick up the other groups. Andre's new code using the Connection.Interface.RosterGroups API fixes this. Will be in 0.5.2. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.