[dolphin] [Bug 424871] Dolphin does not search for files stored in secondary partitions if "Your files" button of the search bar is activated

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Sat Aug 7 09:17:00 BST 2021


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

--- Comment #4 from tagwerk19 at innerjoin.org ---
(In reply to Ismael Asensio from comment #2)
> When baloo search is enabled, "Your files" will search in all of the indexed
> folders (although by default this will be only 'Home'), so these two options
> are slightly different. 
> 
> But for non-indexed search these options are redundant as you well point, as
> they both search from 'Home' dir. We'll need to think of a possible solution
> to avoid this confusion.
This has been put together over time and quite likely needs second/third pair
of eyes to make sure it's correct and hasn't missed anything important. It can
also be that behaviour has evolved since the notes were made.

If you have baloo disabled (1)

    Dolphin runs a "there and then" filenamesearch, descending at your
    chosen folder (if you've selected "From here") or your home directory
    (if "Your files").

    You don't get the additional search options

If you have baloo enabled (and indexing $HOME)

    Dolphin queries baloo and gives results from your chosen folder and
    below (if you've selected "From here") or your home directory (if
    "Your files").

    You do get the additional search options

If you have baloo enabled (and are indexing, say, $HOME/Documents and
$HOME/Downloads)

    If you have moved to Documents and are searching from there,
    dolphin/baloo will give you results from Documents (if you have
    selected "From Here") and from Documents and Downloads (if you have
    selected "Your files")

    But as you are querying baloo, you won't get results from areas that
    baloo hasn't indexed

    You do get the additional search options

    If you were searching "From here (Documents)" and then select "Your
    files", the "From here" jumps up to your home directory.

The same situation as above; baloo enabled and indexing $HOME/Documents and
$HOME/Downloads

    But if you search "from" your home directory, dolphin ignores baloo and
    you get the same "filenamesearch" behaviour as (1),

    You don't get the additional search options

If you have baloo enabled (and are indexing $HOME and have excluded
$HOME/Downloads)

    Dolphin queries baloo and gives results from your chosen folder and below
    (if you've selected "From here") or your home directory (if "Your files").

    As you are querying baloo, you won't get results from areas that baloo
    hasn't indexed, in this case the files in Downloads. You don't get a
    warning.

    You do get the additional search options

There are additional complexities. One being, if you have selected "Content"
and dolphin is querying baloo, you also match filenames, whereas if dolphin is
doing a "filenamesearch" (and you have selected "Content") you don't match
filenames. You have to switch to searching for "Filename"

Ooo, and if baloo is enabled but the process has died, dolphin thinks its
queries to baloo haven't found anything.

I think this is "mad complicated" 8-]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list