Bug 502792

Summary: Baloo ingores config
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Luke <luke.gompz>
Component: generalAssignee: baloo-bugs-null
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 6.10.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luke 2025-04-14 13:46:50 UTC
SUMMARY
Baloo ignores changes to the exclude filters list in baloofilerc, instead always filtering the default step.

STEPS TO REPRODUCE
1. Edit "~/.confg/baloofilerc" file to contain only:
[General]
exclude filters="*.iso"
2. Run balooctl6 disable
3. Run balooctl6 purge
4. Run rm -rf ~/.local/share/baloo 
5. Run balooctl6 enable
6. Run balooctl6 config show excludeFilters

OBSERVED RESULT
Returns many results (instead of just *.iso), seemingly the default list. Running the indexer results in e.g. .db files not appearing in the index (consistent with the balooctl6 config show output). .db files can be added manually with balooctl6 index "filename" and they subsequently appear in the index.

EXPECTED RESULT
Filters applied by Baloo should match the baloofilerc config file.

SOFTWARE/OS VERSIONS
Distribution: Gentoo
KDE Plasma Version: 6.2.5
Baloo version: 6.10
Kernel: 6.12.21 Gentoo-dist

ADDITIONAL INFORMATION
1. I have checked with a root-user find search of "/" that there are no other files called baloofilerc on the system.
2. I have tried putting both "exclude filters" and "excludeFilters" in the config file. The result is the same.
3. "kreadconfig6 --file baloofilerc -group General --key excludeFilters" correctly shows "*.iso".
4. balooctl6 config show 'exclude filters' returns "Config parameter could not be found"