Bug 179515 - BIDI3.3:HCG_Dynamic case of file path complex expr is not handled
Summary: BIDI3.3:HCG_Dynamic case of file path complex expr is not handled
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: 3.3.1   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-27 09:32 EDT by Tomer Mahlin CLA
Modified: 2007-07-30 09:25 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomer Mahlin CLA 2007-03-27 09:32:50 EDT
This is a very BiDi specific defect. It happens on all Windows platforms.
Please use BiDi characters instead of capital Latin letters in the examples below.

1. Start Eclipse on Windows platform with -nl iw command line option
2. Create directory on File system c:\ABC\DEF\
3. Select File->New Project
4. Select geneal project and press Next
5. Uncheck "Use default location" check box
6. Press Browse button and select the directory you created at step 2 using opened dialog
7. Notice how the directory is displayed

Result1: c:\CBA\FED

8. Delete the value in Location entry field 
9. Type manually the same path you created at step 2

Actual result:
  c:\FED\CBA

Expected result:
  The result should be identical to Result1, namely c:\CBA\FED

More information:
-------------------
 It seems that TextProcessor invoked when Eclipse is ran with -nl option is used only when path is defined via Browse dialog and is not used when the path is typed by end user.
Comment 1 Tod Creasey CLA 2007-05-01 16:48:04 EDT
In 3.3 we will not be processing the input any differently than the OS does.
Comment 2 Tod Creasey CLA 2007-06-20 12:21:30 EDT
We should process the result from the browse button if the OS is returning the correct value
Comment 3 Tod Creasey CLA 2007-07-30 09:25:06 EDT
I have tested this with the 3.3 release and we are showing the directory selected by the browse correctly (see ProjectContentsLocationArea#updateLocationField).

We will not be processing the users typed input as we always honour thier input mode settings.