Bug 1032832

Summary: RFE: Improve user session handling for the web editor
Product: [Retired] Zanata Reporter: Damian Jansen <djansen>
Component: Component-LogicAssignee: Michelle Kim <mkim>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4CC: 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: 2015-07-31 01:24:56 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 Damian Jansen 2013-11-21 00:06:19 UTC
Description of problem:
Often when a user leaves a document, via clicking on a link or closing the tab, they appear to still be present to other users.

Version-Release number of selected component (if applicable):
3.x

How reproducible:
Easy, high

Steps to Reproduce:
1. Open two different browsers to $zanata-server
2. Log in to Zanata (in both browsers) with the same user
3. Navigate (in both browsers) to the same project, project version and document
4. Have both users translate the same document
  - Both users should appear with names next to the translation target
5. Click Projects, or Home or some other header link with _one_ user

Actual results:
The user is still visible to the second user, as available in chat and translating the target

Expected results:
User should disappear

Additional info:
It appears this is related to GWT not always getting/handling the event of a user leaving a session, so the information is not propagated to the other users.
Perhaps the server ping and user activity timeout mechanism could be improved.

Comment 1 Damian Jansen 2014-07-24 03:00:03 UTC
Changed to RFE. It works, but sometimes after a minute or two.

Comment 3 Damian Jansen 2015-07-14 00:21:31 UTC
Reassigned to PM

Comment 4 Zanata Migrator 2015-07-31 01:24:56 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-492