Bug 89989

Summary: File Search always uses case sensitive
Product: [Eclipse Project] Platform Reporter: Xiaozheng Ma <xiaozheng.ma>
Component: SearchAssignee: Platform-Search-Inbox <platform-search-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, michael.zock, rpf, sebastianzartner
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Xiaozheng Ma CLA 2005-04-01 11:46:15 EST
I update to 3.1M5 with WTP bundle. It works great. Only I find that the 'file 
search' on 'file name patterns:' use case sensitive even with the case 
sensitive unchecked.

I am using Version: 3.1.0 Build id: I20050219-1500

to repeat:
1. select search->Files...
2. leave 'containing text:' empty and 'Case sensitive' unchecked
3. in 'File name patterns:' put 'page*.java'
   the search returns nothing for me But 'Page*.java' returns files I need.
4. in 'File name patterns:' put 't*.js'
   search returns the js files i am looking for, but search on 'T*.js' return
   nothing.
with  'Case sensitive' unchecked, I would expect steps 3(4) will return the 
same set of results.
Comment 1 Frederic Fusier CLA 2005-04-01 12:00:03 EST
Move to Platform/Search
Comment 2 Martin Aeschlimann CLA 2005-04-04 03:54:37 EDT
The case sensitive check box refers to the content that is searched.
For M6 we fixed a bug so that the file names are only matched case sensitive on
case sensitive file systems.
A better solution might be to add an additional check box for that as well
Comment 3 Sebastian Zartner CLA 2009-03-15 13:28:12 EDT
After four years of not fixing this little bug I wanted to say, that this is a really annoying bug.
I am working on a Linux machine at work and it would be much easier and faster to be able to search for files without having to remember the case of the filenames.
As Martin already said, it would be great, if there were a checkbox for file name case sensitivity for case sensitive file systems.
Comment 4 Dani Megert CLA 2009-03-16 03:55:00 EDT
>After four years of not fixing this little bug I wanted to say, that this is a
>really annoying bug.
Well let's put it the other way: after four years it looks like this was not important enough for anyone in the community to provide a patch ;-)
Comment 5 Michael Zock CLA 2009-03-16 09:47:54 EDT
I have to agree with Sebastian. Is it really that much of an inconvenience to include functionality which should have been there in the first place (to stay compatible with Eclipse on other platforms)? 
After all, case insensitive seems to work just fine for Linux' "find" command.
Comment 6 Rudolf Pfister CLA 2017-01-23 16:05:47 EST
I agree with Sebastian and Michael.
It would be great to have a check-box 'Case sensitive' also for the 'File name patterns'-field on Linux/UNIX.