Bug 407865

Summary: [BiDi] Base Text Direction is not enforced on search combo box in Search dialog [Bidi2013]
Product: [Eclipse Project] Platform Reporter: amir <bamir>
Component: SearchAssignee: Platform-Search-Inbox <platform-search-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: camle, daniel_megert, markus.kell.r, sadir, tomerm, wajnberg
Version: 4.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 427794    
Bug Blocks:    
Attachments:
Description Flags
Wrong BTD on file names in Search dialog none

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 *.?!,