Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 835410

Summary: [WebTran] Long filename should be displayed properly in narrow window
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: Component-UIAssignee: Alex Eng <aeng>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: low Docs Contact:
Priority: medium    
Version: 1.7CC: aeng, damason, sflaniga, zanata-bugs
Target Milestone: ---   
Target Release: 2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.8.0-SNAPSHOT (20120927-0027) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-07 06:19:19 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:
Attachments:
Description Flags
Screenshot that demonstrates the issue none

Description Ding-Yi Chen 2012-06-26 07:01:23 UTC
Created attachment 594371 [details]
Screenshot that demonstrates the issue

Description of problem:
On translating a document with long name, complete percentage and "search and replace" are squeeze together which does not look good. See attachment for details.

Version-Release number of selected component (if applicable):
Zanata version 1.7-SNAPSHOT (20120626-0025)
Zanata version 1.6.1-SNAPSHOT (20120626-0001)

How reproducible:
Always

Steps to Reproduce:
1. Visit a document with long name
2. Narrow the browser.
3.
  
Actual results:
complete percentage and "Search & Replace" are squeezed together.

Expected results:
Every elements are separated and easy to ready.

Additional info:

Comment 1 Runa Bhattacharjee 2012-07-30 12:56:39 UTC
Request for technical evaluation.

Comment 2 Sean Flanigan 2012-07-31 02:09:45 UTC
We should probably specify the width of the docname label as a fixed size (or a percentage of window width), showing an ellipsis if required, and a tooltip which shows the entire docname.

Comment 3 David Mason 2012-07-31 03:22:48 UTC
The ellipsis could go at the beginning, in the middle or at the end of the name. Truncating the beginning of the name (which will generally be the beginning of the path) would probably leave the most relevant part visible to translators.

Comment 4 Alex Eng 2012-09-26 04:28:14 UTC
Fixed in version 2.0 

See https://github.com/zanata/zanata/commit/1a0e2423faef77b6864e4ea2c1de5fe335a3bcb1

Comment 5 Ding-Yi Chen 2012-09-27 02:16:26 UTC
VERIFIED with Zanata version 1.8.0-SNAPSHOT (20120927-0027)

Comment 6 Sean Flanigan 2012-11-07 06:19:19 UTC
Fix released in Zanata 2.0.