Bug 815631

Summary: Ctrl+S for plurals causes row to collapse then expand
Product: [Retired] Zanata Reporter: David Mason <damason>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Joyce Chang <jochang>
Severity: low Docs Contact:
Priority: medium    
Version: 1.6-SNAPSHOTCC: aeng, petersen, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: 1.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Zanata version 1.6.0-alpha-3-SNAPSHOT (20120516-0019). Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-22 00:58:26 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 David Mason 2012-04-24 06:22:28 UTC
Description of problem:
Pressing Ctrl+S on a plural translation causes the editor to close then re-open, which causes a lot of movement on screen and could be distracting to translators. 

Version-Release number of selected component (if applicable):
1.6-alpha-1

How reproducible:
Always

Steps to Reproduce:
1.Open the editor for a language with 2 or more plurals
2.Load a document with one or more plurals
3.Focus the editor on a plural
4.Press Ctrl+S
  
Actual results:
Editor closes then re-opens. Height of text flow changes a lot, then returns to previous size.

Expected results:
Height of text flow does not change significantly.

Additional info:
This may also cause problems when the last text flow on a page is a plural, so this case should be checked.

Comment 1 Alex Eng 2012-05-11 00:15:44 UTC
Confirmed its the editor's behavior the forces the editor to be close everytime an update event is triggered to allows it to update the value in model. Problem can only be solve after the table rewrite using different table model.

Comment 2 Alex Eng 2012-05-14 22:42:22 UTC
Improved response time for the editor when save as fuzzy.

See https://github.com/zanata/zanata/commit/5f00cf823473cd48753287251322ec81ca5110c1

Comment 3 Joyce Chang 2012-05-16 00:58:24 UTC
verified in Zanata version 1.6.0-alpha-3-SNAPSHOT (20120516-0019).