Community
Participate
Working Groups
Build Identifier: 20100917-0705 Compare View displays with project and file titles correctly for the file that starts in English, but incorrectly for the file that starts in Arabic. Reproducible: Always Steps to Reproduce: Steps to Reproduce: 1. Set system locale and language to Arabic-Egypt. 2. Open Eclipse IDE. Choose Arabic name for the workspace folder. 2. Choose Window>>Preferences>>General>>Workspace. 3. Change the text file encoding to UTF-8. Click OK to save the changes. 4. Find 2 JPEG files in the system. Name the first one an Arabic then English word title and name the other one an English then Arabic title. 5. Append ".default binary" after the file extension for each file. 6. Paste the 2 JPEG files into a new Arabic-titled java project. 7. Right click the 2 files and choose compare with each other. 8. Observe what happens. Expected Result: Compare View opens with correct project and file titles Actual Result: Compare View displays with project and file titles correctly for the file that starts in English, but incorrectly for the file that starts in Arabic.
Created attachment 185859 [details] Screen shot in green oval is correct. Screen shot in red oval is incorrect
FWIW, the labels used in the Compare Editor are created like this: fLeftResource.getFullPath().makeRelative().toString() [1], but I have no clue why the tool tip and the title differ. [1] see org.eclipse.team.internal.ui.synchronize.SaveablesCompareEditorInput.getLabels()
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.