Bug 488845 - Attempting to search for files using "From Here (folder)" errors with "kf.baloo: Failed to add exclude folder config entry for /home/username"
Summary: Attempting to search for files using "From Here (folder)" errors with "kf.bal...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 24.05.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-20 22:50 UTC by Eamonn Rea
Modified: 2024-06-21 16:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eamonn Rea 2024-06-20 22:50:46 UTC
SUMMARY
When pressing Ctrl+F to activate the search functionality in Dolphin, running via shell shows that when trying to search using the "From Here (folder)" option (where "folder" is the current folder), it shows an error with "kf.baloo: Failed to add exclude folder config entry for /home/username".

Using the "Your files" option can find the files no problem, although it takes a long time.

I checked the File Indexer which I believe uses Baloo, and I can see my home folder listed there twice: One as "indexed" and the other as "not indexed". It's the exact same path, "/home/username". The trash icon to delete the entry is greyed out. Perhaps this conflict of enabled and disabled indexing is causing the problem?

This functionality works fine on a brand new laptop, but not on my PC which has had this Arch installation for a number of years. As far as I can remember, it never worked on my PC, but I am only getting around to reporting it now when I happened to notice by accident that it works on my laptop.

Note: KFind works without issue, and it's how I've been working around this problem for the last while, before I got the laptop and noticed Dolphin's Find works fine there.

STEPS TO REPRODUCE
1. Open Dolphin
2. Press Ctrl+F to open the Find toolbar
3. Select the "From Here" tab
4. Search for a file
5. Perhaps specific to my PC, the results won't show up.

OBSERVED RESULT
"From Here" does not show files any files on my PC and fails immediately.

EXPECTED RESULT
"From Here" should work as it does on at least one other installation of Plasma 6.1.0

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.9.5 Linux Zen
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION