[Bugs] #4964 Sugar NORM: Can't have 2 instances of same activity in collab

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Fri Jun 17 22:17:45 EDT 2016


#4964: Can't have 2 instances of same activity in collab
-------------------------------+--------------------------------
       Reporter:  sam          |       Owner:
           Type:  defect       |      Status:  new
       Priority:  Normal       |   Milestone:  Unspecified
      Component:  Sugar        |     Version:  Git as of bugdate
       Severity:  Unspecified  |    Keywords:
Distribution/OS:  Fedora       |  Bug Status:  Unconfirmed
-------------------------------+--------------------------------
 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!

--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4964>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list