Bug 463258

Summary: Search/find doesn't work even though baloosearch does
Product: [Applications] dolphin Reporter: kde
Component: searchAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kde, kfm-devel, tagwerk19
Priority: NOR    
Version: 22.12.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kde 2022-12-20 05:59:50 UTC
SUMMARY
The Search tool doesn't return any results even though the baloo index appears to be working fine. This was verified by a series of baloosearch queries. Each command line query return results as expected. However, when using Search in Dolphin, no results are returned. Oddly, this same problem persisted across two very different versions of Dolphin (17.xx and 22.12).

I've combed through many forums on similar problems, so I'm sure I'm not doing something obviously wrong (options are wide open: any files, any type, any date, etc.). 

STEPS TO REPRODUCE 
1.  Search in Dolphin - no results
2.  Search using baloosearch query - get results as expected
3. Same behavior in both Dolphin 17.xx and 22.12.

OBSERVED RESULT
No search results.

EXPECTED RESULT
Same results as command line baloosearch query.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.04. Dolphin 22.12 installed via flatpak
KDE Plasma Version:  n/a
KDE Frameworks Version:  n/a
Comment 1 kde 2022-12-21 00:20:29 UTC
Update: I installed kde-standard on Ubuntu and purged the baloo index. Search worked for a few hours within Dolphin, but then it stopped working again. The command line baloosearch still worked fine though.
Comment 2 tagwerk19 2022-12-27 09:57:07 UTC
You are searching "Your Files" in Dolphin and not "From Here"?

It can be very confusing if you have followed a symlink in Dolphin and then done the search "From" the symlinked folder - for example baloo's indexed $HOME/Documents and you've moved to $HOME/Desktop/Documents and done the search from there.

It's an offchance...