id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
56	savannah: Case insensetive search in mc doesn't work	slavazanko		"Original: http://savannah.gnu.org/bugs/?18977

||Submitted by:||Christian Hamar <krix>||Submitted on:||Tue 06 Feb 2007 08:46:47 PM UTC||
||Category:||Core||Severity:||3 - Normal||
||Status:||None||Privacy:||Public||
||Assigned to:||None||Open/Closed:||Open||
||Release:||4.6.1||Operating System:||GNU/Linux||

Discussion:
{{{
Fri 02 May 2008 12:48:03 PM UTC, comment #3:

I also think that the current option is not intuitive, and I thought
that this is a bug.
	Nagy Gabor <ngaba>
Tue 20 Feb 2007 08:05:59 PM UTC, comment #2:

I took a look at the patch and it is pretty straightforward. However
 it is not what we want - it misuses the ""case Sensitive"" mark under
 the ""Content"" field - that flag is related to the data entered into
 the ""Content"" field and not the ""Filename"" field. I'll modify the dialog and adjust the code to do the right thing.
	Pavel Tsekov <ptsekov>
Project Administrator
Thu 08 Feb 2007 09:45:20 AM UTC, comment #1:

Please, read the link below - this is the expected behaviour:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=351562

Anyway, I'll take a look at those patches.
	Pavel Tsekov <ptsekov>
Project Administrator
Tue 06 Feb 2007 08:46:47 PM UTC, original submission:

Hey there.

I just found a patch in some freebsd bugtracker and saw that it says
 that case insensetive search does not work in 4.6.1 (maybe in CVS i
 did not test that :S )

I tried it and it does not works :))

A simple example how to reproduce. Get a directory which contains 
case and non-case filenames too:

- service
- services
- ICEcube
- somethingelse

Now, when you open Search dialog and put ICE for filename you wanna 
search then you got result like:

Case sens. ON:

- ICEcube (so it find it)

Case sens. OFF:

- ICEcube (so it find it again)

Let switch what we want to search. switch to ice then results:

Case sens. ON:

- service
- services

Case sens. OFF:

- service
- services

^^ So see the bug, while case sens. was off and you searched for ice
 you need to see ICEcube too in the list, but you wont.

The patch original source is: http://www.freebsd.org/cgi/query-pr.cgi?pr=99428

I take the patch from there and ""reformatted"" for mc 4.6.1

I attached two patch one for 4.6.1 and one for CVS (20070206 checkout)

Applies clean and fixes the bug, if not fixed in CVS already. I think no :)

Regards

Christian Hamar alias krix
Hungary
Frugalware Development Team
http://www.frugalware.org/ 
}}}
"	defect	new	major		mc-core								
