Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333265 - Improper display of project and file title in comparison view
Summary: Improper display of project and file title in comparison view
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-28 09:48 EST by Maha Moustafa CLA
Modified: 2019-09-24 13:51 EDT (History)
5 users (show)

See Also:


Attachments
Screen shot in green oval is correct. Screen shot in red oval is incorrect (41.37 KB, image/x-png)
2010-12-28 09:49 EST, Maha Moustafa CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maha Moustafa CLA 2010-12-28 09:48:24 EST
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.
Comment 1 Maha Moustafa CLA 2010-12-28 09:49:40 EST
Created attachment 185859 [details]
Screen shot in green oval is correct. Screen shot in red oval is incorrect
Comment 2 Tomasz Zarna CLA 2011-01-03 11:44:51 EST
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()
Comment 3 Lars Vogel CLA 2019-09-24 13:51:55 EDT
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.