Bug 439277 - File search only works when “Enable file search” is not checked.
Summary: File search only works when “Enable file search” is not checked.
Status: RESOLVED DUPLICATE of bug 438850
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 21.04.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-28 21:00 UTC by Laura David Hurka
Modified: 2024-02-24 19:49 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laura David Hurka 2021-06-28 21:00:16 UTC
SUMMARY
Search in Dolphin does not work when it should.

STEPS TO REPRODUCE
1. Open Dolphin, click the search button, and search for e. g. “Desktop” with “File name” option.
2. Go to System Settings -> Workspace -> Search -> File Search.
3. Toggle the “Enable file search” checkbox, and click “Apply”.
4. Try to search again.

OBSERVED RESULT
Search only works if “Enable file search” is *not* checked, otherwise the search finishes with no results.

EXPECTED RESULT
The other way round. (Or search works always.)

SOFTWARE/OS VERSIONS
Dolphin 21.04.2
Operating System: KDE neon 5.22
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

From https://bugs.kde.org/show_bug.cgi?id=405317#c1
> Nate Graham 2019-03-17 16:11:01 UTC
> 
> If you run `balooshow <name of file>` in a terminal window,
> does it appear there?

Running `balooshow Desktop` shows sensible results for my ~/Desktop directory. So baloo itself seems to work fine. Despite the weird behavior described in https://bugs.kde.org/show_bug.cgi?id=439276.

Filing this in “dolphin”, because I don’t know which of the ”baloo” products would be correct. You may move this. :)
Comment 1 dagobertram 2021-07-02 13:05:33 UTC
I experienced exactly the same problems, so I linked your bug report to the one I made two weeks ago.

*** This bug has been marked as a duplicate of bug 438850 ***
Comment 2 tagwerk19 2021-07-02 13:44:18 UTC
Have a look at Bug 435119

Dolphin makes use of Baloo when it thinks baloo is running and indexing the particular folders, if it not it falls back to a "there and then" search.

This is "baloosearch" versus "filenamesearch". The "there and then" search can be slow and despite the name, it can search for content, not just filenames.

The question is, what's happening when Dolphin is doing "baloo" searches and show no results.