Opened 8 years ago

#4964 new defect

Can't have 2 instances of same activity in collab

Reported by: sam Owned by:
Priority: Normal Milestone: Unspecified
Component: Sugar Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: Distribution/OS: Fedora
Bug Status: Unconfirmed

Description

Steps to reproduce:

  1. Open Chat on Alice's computer
  2. Invite Bob to the chat
  3. Bob accepts the invitation, sees that Chat activity start and work as expected
  4. Open a NEW Chat instance on Alice's computer
  5. Invite Bob to the new chat instance
  6. Bob accepts the invitation

Expected result: New chat instance works as expected - they now have 2 chat activities

Actual result: New chat instance hangs on startup (stays on the pulsing icon screen).

Why?

Activities are given telepathy client names like "org.freedesktop.Telepathy.Client.org.laptop.Chat". Therefore, when you open 2 chat instances, they are assumed to have the same client name. When Sugar gets an invite, it sends it to "org.freedesktop.Telepathy.Client.org.laptop.Chat", which is actually the first activity.

We need to add something else into the client id (journal object_id?) so that it is universally unique!

Change History (0)

Note: See TracTickets for help on using tickets.