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

skierpage <skierp...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |skierp...@gmail.com

--- Comment #3 from skierpage <skierp...@gmail.com> ---
I have many and various problems like this with Baloo. It mostly works but with
many corner cases and quirks.

I have many text files that Dolphin Find by Filename won't find when I choose
type "Any", but which *do* show up if I choose type "Documents". So try
different type restrictions.

Dolphin Find by Filename works oddly if you enter a single letter. It will
return no or few files when you type one letter, but as you type more it will
return a lot. E.g. if I type 'o' it returns 3 files TABLES_O.FW3, NEW_VS_O.DIF,
and BYK8KO~O.PDF, but if I type 'or' it returns 4 Folders and 62 Files with
names like CCMAIL.ORG, oracover.doc, etc. So at first it seems to be looking
for an exact match with the letter 'o' on its own, treating the filename as a
set of words ("TABLES" and "O" and "FW3"), but then it switches to do a partial
match. But it's still matching from the start of "words" in filenames, e.g.
typing 'mai' won't find CCMAIL.txt but will find SPAGE_MAIL.txt The behavior is
undocumented and non-obvious. It would be great if someone knowledgeable wrote
an explanation of Dolphin's find by Filename.

In reply to Nate Graham from comment #1)
> The find panel uses information from Baloo, so
> it's likely Baloo is messed up on your machine. You might try some of the
> things outlined here: https://community.kde.org/Baloo/Debugging

How can you simulate Dolphin's Find by Filename from the command line?
baloosearch doesn't have a filename switch.
https://community.kde.org/Baloo/Debugging doesn't say anything about how
Dolphin's Find by Filename works. `balooshow -x /path/to/γένεος_baloo_test.txt`
has a line
  File Name Terms: Fbaloo Ftest Ftxt Fγενεος baloo test txt γενεος 
and I think if you type more than one character in Dolphin's find by Filename,
it does a match against these terms anchored at the start. Or something like
that...
^If these sentences are correct I can add them to KDE Community Wiki somewhere.

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

Reply via email to