| Summary: | Problems in displaying Hebrew (Bi-Directional) text in the TPTP Log Viewer | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kiran M N <mn.kiran> |
| Component: | TPTP | Assignee: | Paul Slauenwhite <paulslau> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P1 | CC: | paulslau |
| Version: | unspecified | Keywords: | plan |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
| Attachments: | |||
|
Description
Kiran M N
Created attachment 84300 [details]
RMT Script and Execution Log
Assuming this defect was found in TPTP 4.5. This defect is required by a consuming product early in I5. Hi Kiran, can you prvide screen captures of this behavior? Created attachment 86346 [details]
Screen capture #1.
Using the Eclipse default locale (English).
Created attachment 86347 [details]
Screen capture #2.
Using the Eclipse HE locale.
Kiran, what is the expected behavior? In the case of the selected node in the Events tree, are you expecting the text to be "PassWord הקש"? When the script contains a mix of Hebrew and English, RMT displays the characters incorrectly in the log. Instead of taken the same order of the script, RMT sorts the character strings. RMT puts Hebrew strings with Hebrew strings and English strings to English strings. Example: The script's text is: ךנװפ שפן blaBla ךנװפ שפן The logs distorts the infoprmation into: ךנװפ שפןךנװפ שפן blaBla Checked the following files into CVS (HEAD): /features/org.eclipse.tptp.test/feature.xml /org.eclipse.hyades.test.ui/META-INF/MANIFEST.MF org.eclipse.hyades.test.ui.forms.base.ExecutionEventDetailsPart.java org.eclipse.hyades.test.ui.internal.editor.form.util.EventLabelProvider.java Kiran, can you verify that this fix (see the attached patch) resolves the problem with the consuming product? Created attachment 87272 [details]
UNSUPPORTED Patched Plug-in.
Note: This patched plug-in is for testing purposes ONLY and should not be shipped with any consuming product.
Created attachment 87541 [details]
UNSUPPORTED Patched Plug-in (TPTP 4.2.2).
TPTP 4.2.2 version of the patched plug-in:
Note: This patched plug-in is for testing purposes ONLY and should not be shipped with any consuming product.
Created attachment 87649 [details]
Screen capture of this behavior in the consuming product.
This problem was still evident in the Properties view of the Test Perspective when the user selects the element in the Test Log View. The following class checked-in to CVS (HEAD): org.eclipse.hyades.ui.adapter.NamedElementPropertySource.java Created attachment 88095 [details]
Example RMT script containing hebrew text.
Example RMT script containing hebrew text.
Created attachment 88096 [details]
Example RMT execution log with problem
(In reply to comment #15) > Created an attachment (id=88096) [details] > Example RMT execution log with problem > This test log is being rendered correctly in TPTP 4.2.2 using the Hebrew locale since the text attributes in the test log (unzip using WinZip) are rendered correctly in teh 4.2.2 Test Log View (see attached screen capture). Created attachment 88320 [details]
Screen capture #3
(In reply to comment #16) > (In reply to comment #15) > > Created an attachment (id=88096) [details] [details] > > Example RMT execution log with problem > > > > This test log is being rendered correctly in TPTP 4.2.2 using the Hebrew locale > since the text attributes in the test log (unzip using WinZip) are rendered > correctly in teh 4.2.2 Test Log View (see attached screen capture). > Note, these findings were based on the GAed 4.2.2 driver WITHOUT the patch for this defect (see comment #11). The fix for this defect was for a problem in TPTP 4.5 where the Latin letters were swapped, which was fixed by the patch (see comment #10). For example: הקש UserName was displayed as: UserName הקש Closing. |