Bug 269542 - Krusader search - Containing text still used when disabled
Summary: Krusader search - Containing text still used when disabled
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: search (show other bugs)
Version: 2.3.0-beta1 "New Horizons"
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Lepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-27 15:26 UTC by Marcin Gryszkalis
Modified: 2013-09-22 11:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Gryszkalis 2011-03-27 15:26:34 UTC
Version:           2.3.0 (using KDE 4.6.0) 
OS:                Linux

Reported at https://sourceforge.net/tracker/?func=detail&aid=2840528&group_id=6488&atid=106488

Copied from there:

When I select "Of type"="Directories" in krusader search, the "Containing text" group box is disabled. It's good.
But somewhy krusader still considers values in this group box.

Example:
1. I enter "Of type"="All files", "Containing text"="hello".
Then I thing "no, I'd better search for something else".
2. I change "Of type" to "Directories". "Containing text" still shows "hello" (although disabled).
I tap "Search" -- NOTHING FOUND.
3. But when I change "Of type" to "All files" (to enable "Containing text" group box), clear then "Containing text" group box, and set "Of type" back to "Directories", and tap "Search" again -- DIRECTORIES ARE FOUND.

Thus, it seems that krusader is considering "Containing text" group box even when it is disabled.



Reproducible: Always
Comment 1 Jan Lepper 2013-09-22 11:25:57 UTC
Git commit 1cdc4b29369bb12dbde24b286d86b9b38ccce6f5 by Jan Lepper.
Committed on 22/09/2013 at 10:24.
Pushed by janlepper into branch 'master'.

FIXED: [ 269542 ] Krusader search - Containing text still used when disabled

M  +1    -0    ChangeLog
M  +8    -6    krusader/Filter/filtersettings.cpp
M  +8    -6    krusader/Filter/generalfilter.cpp

http://commits.kde.org/krusader/1cdc4b29369bb12dbde24b286d86b9b38ccce6f5