| Summary: | TVT3.2:TCT870: Wrong reading order of path/file names | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | CDE Administration <cdeadmin> | ||||||||||||||
| Component: | UI | Assignee: | Karice McIntyre <Karice_McIntyre> | ||||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||
| Severity: | major | ||||||||||||||||
| Priority: | P3 | CC: | afarrag, camle, Karice_McIntyre, kitlo, Tod_Creasey | ||||||||||||||
| Version: | 3.2 | ||||||||||||||||
| Target Milestone: | 3.2.1 | ||||||||||||||||
| Hardware: | PC | ||||||||||||||||
| OS: | Linux-GTK | ||||||||||||||||
| URL: | 870 | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Bug Depends on: | |||||||||||||||||
| Bug Blocks: | 130587 | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
CDE Administration
Created attachment 43760 [details]
RTL_path_names.jpg
Created attachment 43761 [details]
RTL_path_names_menu.jpg
<cde:tctdetail> Testcase: General Project: WSW32 Component: CDE - Platform/UI Priority: 2 Subject: Wrong reading order of path/file names Article ID: 870 Originator: gpelleg@il.ibm.com </cde:tctdetail> Another instance of the problem reported in bug 119928. Adding another screen shot with similar problem - properties view, Created attachment 44011 [details]
RTL_path_names_properties_view.jpg
We need this bug fixed for 3.2.1. Thank you. There are a lot of bugs that fall under the umbrella of bug 130587 - this is one of them. To fix this one, the workbench label provider would have to be changed, which may be too big of a change for a maintenance release since this is a public class that is used by alot of other components. Tod, what do you think? The WorkbenchLabelProvider is generic and does not differentiate if something is a file path or not
IWorkbenchAdapter adapter = getAdapter(element);
if (adapter == null) {
return ""; //$NON-NLS-1$
}
String label = adapter.getLabel(element);
//return the decorated label
return decorateText(label, element);
As paths are going to be handled differently they need to be handled on a case by case basis.
*** Bug 133556 has been marked as a duplicate of this bug. *** Created attachment 44167 [details]
apply patch to workbench and ide
This patch fixed the properties view, Navigator view, and File MRU menu entries.
Released fixes to both 3.2.1 and 3.3 streams for File MRU menu entries, property sheet, and workbench file adapter (used in Navigator). *** Bug 142278 has been marked as a duplicate of this bug. *** Due to bug 152035, the code in the label provider will have to be rolled out - the rest of the patch will stay though. NOT verified for file MRU list in M20060830-0800. The string gets completely mangled. Verified for the property sheet. Created attachment 49177 [details]
pic of mangled file names in MRU list
In the highlighted strings, the first close bracket should be an open bracket and the file extension and project name switched positions in the string!
Created attachment 49183 [details]
apply patch to org.eclipse.ui.workbench
patch to fix the problem.
Test case to check is PROJECT/FOLDER/FILE.EXT (all Hebrew characters).
released to 3.2.1 stream for tomorrow morning's build. released to HEAD for build > 20060905, also with changes to get rid of warnings. |