Ticket #56 (closed defect: fixed)
savannah: Case insensetive search in mc doesn't work
Reported by: | krix | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-core | Version: | |
Keywords: | Cc: | mantas@… | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description (last modified by ossi) (diff)
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 |
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/
Comment 1 by Pavel Tsekov <ptsekov> at Thu 08 Feb 2007 09:45:20 AM UTC:
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.
Comment 2 by Pavel Tsekov <ptsekov> at Tue 20 Feb 2007 08:05:59 PM UTC:
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.
Comment 3 by Nagy Gabor <ngaba> at Fri 02 May 2008 12:48:03 PM UTC:
I also think that the current option is not intuitive, and I thought that this is a bug.
Attachments
Change History
Changed 16 years ago by slavazanko
- Attachment 11-case-sensitive-find-fix-4.6.1.patch added
Changed 16 years ago by slavazanko
- Attachment case-sensitive-find-fix-forcvs_20070206.patch added
added by krix
Note: See
TracTickets for help on using
tickets.
added by krix