Red Hat Bugzilla – Bug 892413
User should leave the workspace (participants list) when hitting a link that out of translation editor
Last modified: 2014-03-18 01:02:02 EDT
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):
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).
The user who is still on the Editor screen still sees the other session's user as working on the same entry.
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.
Currently, after some time (order of minutes), the user is detected as having left the workspace and the editor screens reflect the correct state.