Summary: | Dolphin search crosses file system boundary when Baloo is disabled | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Adam Fontenot <adam.m.fontenot+kde> |
Component: | search | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | kfm-devel, tagwerk19 |
Priority: | NOR | ||
Version: | 22.08.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Adam Fontenot
2022-10-15 21:41:03 UTC
I think if you are searching with Dolphin, and Dolphin sees that baloo is disabled or the folder "it is in" is not indexed by baloo, it will start a "there and then" search. That is via "filenamesearch" rather then "baloosearch" (although it's a bit more difficult to see what Dolphin is doing behind the scenes nowadays). A "filenamesearch", despite the name, can also search content if you've requested it. Doing this over a remote connection is likely to be quite slow... The "there and then" search does things like follow symlinks (that baloo avoids doing), I would need to check behaviours with mounts "under" $HOME Tangentially... Dolphin/Baloo search with symlinks: Bug 447119 (In reply to tagwerk19 from comment #1) > I think if you are searching with Dolphin, and Dolphin sees that baloo is > disabled or the folder "it is in" is not indexed by baloo, it will start a > "there and then" search. That is via "filenamesearch" rather then > "baloosearch" (although it's a bit more difficult to see what Dolphin is > doing behind the scenes nowadays). Just to make sure it's clear - I'm not searching inside a mounted remote directory. I'm searching inside a directory (my home folder) that contains a mounted remote directory. If Dolphin is currently browsing inside the remote, I expect it to search the remote (because the search "starts in" the remote file system). When searching my home directory, I expect it to skip other filesystems. (In reply to tagwerk19 from comment #1) > ... I would need to check behaviours with mounts "under" $HOME ... Looks like, If you've an sshfs mount in your home directory: Baloo will index it ... Dolphin's recursive search with delve down into it ... Every day a learning day! Don't have a feeling for what "people would expect to happen" here but flagging "Confirmed" (In reply to tagwerk19 from comment #3) > Looks like, If you've an sshfs mount in your home directory: > > Baloo will index it ... This is somehow runs counter to a fix, long, long ago... https://bugs.kde.org/show_bug.cgi?id=333433#c3 |