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

Bug 900424 (JBPAPP6-755)

Summary: Installer: Text in the MavenRepoCheckPanel does not wrap around
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Thomas Hauser <thauser>
Component: InstallerAssignee: Dustin Kut Moy Cheung <dcheung>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: bgeorges, dcheung
Target Milestone: ---   
Target Release: EAP 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBPAPP6-755
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Fedora 16 32bit
Last Closed: 2012-06-05 05:05:28 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
issue.png
none
JBPAPP-9901-patch.png none

Description Thomas Hauser 2012-05-11 18:45:38 UTC
Steps to Reproduce: 1. Select french language
2. Choose to install quickstarts
3. The MavenRepoCheckPanel will demonstrate the problem
project_key: JBPAPP6

The text in the labels on the MavenRepoCheckPanel doesn't wrap. This means that, if the text is long in the labels, it will cut off once it reaches the edge of the window. This effect is also happening to the buttons.

Comment 1 Thomas Hauser 2012-05-11 20:20:35 UTC
screen of issue

Comment 2 Thomas Hauser 2012-05-11 20:20:35 UTC
Attachment: Added: issue.png


Comment 3 Dustin Kut Moy Cheung 2012-05-14 13:08:25 UTC
Link: Added: This issue is a dependency of JBPAPP-8085


Comment 4 Dustin Kut Moy Cheung 2012-05-14 19:16:45 UTC
Attachment: Added: JBPAPP-9901-patch.png


Comment 5 Dustin Kut Moy Cheung 2012-05-14 19:28:30 UTC
In the eng.xml text, the MavenRepoCheckPanel.info have <br/> tags to tell Izpack when to "break" the text into several lines.

When the translations were done the br tags never moved. However the length of the french translation (for example) between 2 br tags will be different from eng.xml.

The fix being proposed is to remove all <br/> tags from the text translations, and instead make Izpack inject those tags at runtime.

Izpack will count the number of characters per text and once it has reached, say, 110 characters, it will insert a <br/> tag in between a whitespace.

Unfortunately japanese characters take 2 latin characters in terms of horizontal space.

So we also take that into account when injecting br tags.

Commit for this fix:
http://git.app.eng.bos.redhat.com/?p=jbossas-installer.git;a=commit;h=92faedf1625d1a273f26a259e05675d1b9409d9c
http://git.app.eng.bos.redhat.com/?p=izpack.git;a=commit;h=e9e3c7d58d52f5618ec4b3d879d0cd12ee10f0fe

Comment 6 Dustin Kut Moy Cheung 2012-05-14 19:30:09 UTC
Also, on issue.png, you'll see that the text area for the m2 location is too long.

Apparently the length of that text area is determined by the length of the radio option above it.

This was also fixed so that the radio options text wrap around if it's too long.

Comment 7 Jan Lanik 2012-05-24 14:38:16 UTC
verified

Comment 8 Dustin Kut Moy Cheung 2012-05-24 18:27:26 UTC
Link: Removed: This issue is a dependency of JBPAPP-8085 


Comment 9 Tom WELLS 2012-06-05 05:05:28 UTC
Release Notes Docs Status: Added: Not Required


Comment 10 Anne-Louise Tangring 2012-11-05 17:51:05 UTC
Release Notes Docs Status: Removed: Not Required 
Docs QE Status: Removed: NEW