Bug 892413

Summary: User should leave the workspace (participants list) when hitting a link that out of translation editor
Product: [Retired] Zanata Reporter: Carlos Munoz <camunoz>
Component: Component-UIAssignee: zanata-dev-internal <zanata-dev-internal>
Status: CLOSED WORKSFORME QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: damason, dchen, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-18 05:00:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Carlos Munoz 2013-01-07 03:31:52 UTC
Description of problem:
When hitting a link from the editor (such as any of the Menu bar links) the user still appears as if it were editing a row on other users' editor screens.

Version-Release number of selected component (if applicable):
2.0

How reproducible:
Always

Steps to Reproduce:
1. Log in to Zanata and start editing a document.
2. Log in as a different user (using the same user twice also shows the problem) on a different session and head to the same document and row as on step 1.
3. Both sessions should see each other as editing the same row.
4. With one of the sessions opened before, hit the link "Projects" on the top menu bar (thus leaving the workspace).
  
Actual results:
The user who is still on the Editor screen still sees the other session's user as working on the same entry.

Expected results:
As soon as the user clicks the link (any link), the editor should send the event signaling that the user has left the workspace, and the name of the user who has left should not be shown in the other session's editor.

Additional info:
Currently, after some time (order of minutes), the user is detected as having left the workspace and the editor screens reflect the correct state.