| Summary: | [bidi] HCG:Undesired order of file names in RTL direction of eclipse | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Tamir Noach <ntamir> | ||||||||
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | benno.baumgartner, camle, daniel_megert, kitlo, ntamir, obahy, steven.wasleski, Tod_Creasey, tomerm | ||||||||
| Version: | 3.2 | ||||||||||
| Target Milestone: | 3.4 M7 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows Vista | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Tamir Noach
(In reply to comment #0) > Build ID: Version 3.2.0 > > Steps To Reproduce: > Note : Caps Lock latin letters are Hebrew letters. > Please folllow the instructions: > 1. Run eclipse with -dir rtl flag. > 2. open a Java project(or any other project the user want). > 3. Create a file in the project, when giving a BiDi name to the file. > > Expected Resut: EMANELIF.txt > > Actual Result: txt.EMANELIF. > > Created attachment 60987 [details]
The attachment describe the defect by encircling the problem with Red rectangles.
I've attach a compress image, which describe the defect. When I click on the attachment there is an error. In what view are you seeing the problem? Created attachment 61258 [details]
The first attachment in JPEG format
To rectify this, the label provider of the Package Explorer would have to use the API provided in org.eclipse.osgi.util.TextProcessor. Changing the severity to match to BiDi criteria If a mixed string of Arabic and English is used to name a Java file, the generated file name on the project tree is incorrectly ordered. To regenerate the example below, name the java file as (ABCabc) where ABC are Arabic characters, and inspect the Project tree. Project tree displays: abc.javaABC (incorrect) Desired output: ABCabc.java (correct) I run the test case with -nl iw flag, and the problem still exist. (In reply to comment #0) > Build ID: Version 3.2.0 > Steps To Reproduce: > Note : Caps Lock latin letters are Hebrew letters. > Please folllow the instructions: > 1. Run eclipse with -nl iw flag. > 2. open a Java project(or any other project the user want). > 3. Create a file in the project, when giving a BiDi name to the file. > Expected Resut: EMANELIF.txt > Actual Result: txt.EMANELIF > More information: Are you creating a java file or a plain text file? if it is a plain text file please move this back to PlatformUI Created attachment 65455 [details]
Java file name appear in RTL orientation.
(In reply to comment #10) > Are you creating a java file or a plain text file? if it is a plain text file > please move this back to PlatformUI This defect has been verified with eclipse-SDK-I20070430-1300 Stream Integratin Build. Moved the defect to PlatformUI. Even when i run the defect with -nl iw flag, the defect remian with java files as well as text files. Please see the new attached image. Fixed in HEAD. Available in builds > N20080416-2000. verified in I20080427-2000 As far as I am concerned the defect can be closed. The originator can't do that since it does not work anymore with us. . |