Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 222927

Summary: BIDI3.4:HCG Incorrect layout of file name containing Hebrew characters in Search view
Product: [Eclipse Project] Platform Reporter: Helena Halperin <hhelena>
Component: SearchAssignee: Platform-Search-Inbox <platform-search-inbox>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: benno.baumgartner, camle, kitlo, martinae, tomerm
Version: 3.4   
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
incorrect display of the file name
none
screen shot none

Description Helena Halperin CLA 2008-03-17 04:47:36 EDT
Created attachment 92680 [details]
incorrect display of the file name

Build ID: I20080395-1100

Steps To Reproduce:
1. Install:  - Eclipse Base Platform Runtime eclipse-RCP-3.4M5-linux-gtk.tar.gz 
             - NLpackBidi-eclipse-RCP-3.4M5-linux-gtk.zip 
             - Eclipse IDE Platform Runtime
eclipse-platform-3.4M5-linux-gtk.tar.gz 
             - NLpackBidi-eclipse-platform-3.4M5-linux-gtk.zip
             - JDT Runtime eclipse-JDT-3.4M5.zip 
             - NLpackBidi-eclipse-JDT-3.4M5.zip   
2. Set default locale to Hebrew
3. Run Eclipse with command line including following argument -nl iw

1. Install:  - Eclipse Base Platform Runtime eclipse-RCP-3.4M5-linux-gtk.tar.gz 
             - NLpackBidi-eclipse-RCP-3.4M5-linux-gtk.zip 
             - Eclipse IDE Platform Runtime
eclipse-platform-3.4M5-linux-gtk.tar.gz 
             - NLpackBidi-eclipse-platform-3.4M5-linux-gtk.zip
             - JDT Runtime eclipse-JDT-3.4M5.zip 
             - NLpackBidi-eclipse-JDT-3.4M5.zip   
2. Set default locale to Hebrew
3. Run Eclipse with command line including following argument -nl iw

1. Install:  - Eclipse Base Platform Runtime eclipse-RCP-3.4M5-linux-gtk.tar.gz 
             - NLpackBidi-eclipse-RCP-3.4M5-linux-gtk.zip 
             - Eclipse IDE Platform Runtime
eclipse-platform-3.4M5-linux-gtk.tar.gz 
             - NLpackBidi-eclipse-platform-3.4M5-linux-gtk.zip
             - JDT Runtime eclipse-JDT-3.4M5.zip 
             - NLpackBidi-eclipse-JDT-3.4M5.zip   
2. Set default locale to Hebrew
3. Run Eclipse with command line including following argument -nl iw

4. Create new project MyProject
5. Add to the project file with Hebrew name ABC.txt (where ABC are Hebrew characters).
6. Run search file with file name pattern *.
7. Inspect result in Search view

Expected result:  ABC.txt – MyProject

Actual result:  txt – MyProject.ABC


More information:
Comment 1 Martin Aeschlimann CLA 2008-04-14 04:15:39 EDT
released fix > 20080414
Comment 2 Martin Aeschlimann CLA 2008-04-14 04:33:14 EDT
How can I get the mentioned Bidi packs?
(NLpackBidi-eclipse-RCP-3.4M5-linux-gtk.zip, ...)
Comment 4 Martin Aeschlimann CLA 2008-04-14 05:47:38 EDT
Created attachment 95885 [details]
screen shot

I think I need some assistance here, can you help?
The label in the list is from the NLS bundles:

FileLabelProvider_count_format={0} ({1} matches)

I made sure that the file name ({0}) is first processed by TextProcessor.process.

In the screenshot you can see that the brackets are still in strange order.
Is this a problem of the BIDI translation, or what can I do here?
Feel free to contact me on Sametime.
Comment 5 Martin Aeschlimann CLA 2008-04-21 09:56:57 EDT
Note that I looked at the problems of the parenthesis with Helena, and the issue is fixed now by adding escaping around the parenthesis.

Comment 6 Tomer Mahlin CLA 2008-04-27 09:14:49 EDT
Resolution of this issue depends on bug 229010
Comment 7 Benno Baumgartner CLA 2008-04-28 10:10:59 EDT
verified in I20080427-2000
Comment 8 Helena Halperin CLA 2008-04-29 06:53:59 EDT
Verified in build I20080425