Bug 407865 - [BiDi] Base Text Direction is not enforced on search combo box in Search dialog [Bidi2013]
Summary: [BiDi] Base Text Direction is not enforced on search combo box in Search dial...
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 4.3   Edit
Hardware: PC Windows 7
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 427794
Blocks:
  Show dependency tree
 
Reported: 2013-05-13 07:03 EDT by amir CLA
Modified: 2014-03-03 13:30 EST (History)
6 users (show)

See Also:


Attachments
Wrong BTD on file names in Search dialog (39.78 KB, image/png)
2013-05-13 07:03 EDT, amir CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description amir CLA 2013-05-13 07:03:06 EDT
Created attachment 230850 [details]
Wrong BTD on file names in Search dialog

Prerequisite:
Eclipse should be run as following in order to invoke RTL BTD:
eclipse -bidi "on=y;textDir=rtl" 

1. Start Serach dialog (Search -> file)
2. Type some file name contains mixed text in search combo box

Result: BTD is not enforced on Search combo box
Comment 1 Markus Keller CLA 2013-05-13 13:15:48 EDT
Can't implement this without bug 407927.
Comment 2 Markus Keller CLA 2014-03-03 13:30:56 EST
(In reply to amir from comment #0)
> Created attachment 230850 [details]
> Wrong BTD on file names in Search dialog

The first combo box is for the search pattern, not for a file name. For that combo, we'd need StructuredTextTypeHandlerFactory.REGEX iff the "Regular expression" checkbox is checked. Otherwise, we maybe need a special implementation that knows about the basic pattern characters *?\

The second combo needs a special implementation that knows about *.?!,