https://bugs.kde.org/show_bug.cgi?id=475163

Karl Ove Hufthammer <k...@huftis.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from Karl Ove Hufthammer <k...@huftis.org> ---
I also find this annoying. I think the problem is that the search *only* looks
at the filenames, not the folder names. One solution would be checkboxes for
searching in either files or folders, but I think a better solution would be to
just prefix the file names with the names of the folder(s) when doing the
search (and separating (sub)folders by / characters). So for the file

foo/bar/baz.po

a search for either ‘foo’, ‘bar’ or ‘baz’ should display the file.

Since the search string is a regexp, we can easily modify the search to search
in just the folder or the file name. Example:

ark/ark.po
ark/ark_json_.po
arkade/foo.po
keditbookmarks/keditbookmarks.po

A search for ‘ark’ would match all four files.
A search for ‘^ark’ would match the first three files.
A search for ‘ark/’ would match the first two files.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to