https://bugs.kde.org/show_bug.cgi?id=524283
Bug ID: 524283
Summary: File Search KCM shows duplicate home directory entries
with conflicting indexing states
Classification: Applications
Product: systemsettings
Version First 6.7.4
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_baloofile
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 195168
--> https://bugs.kde.org/attachment.cgi?id=195168&action=edit
Screenshot showing the duplicate /home/labulubius entries in File Search (one
"Indexed" and one "Not indexed"), together with the relevant Baloo
configuration and balooctl6 output.
# Description
SUMMARY
In System Settings > Search > File Search, my home directory appears twice. One
entry is shown as "Indexed" and the other as "Not indexed", even though both
point to the same path:
/home/labulubius
The effective configuration reported by balooctl6 includes my home directory
and does not list it in excludeFolders, so the two entries shown in System
Settings appear to conflict with the effective Baloo configuration.
STEPS TO REPRODUCE
1. On Fedora KDE, open System Settings > Search > File Search.
2. Set the home directory to "Indexed".
3. Leave the page and open File Search again.
4. The home directory appears twice.
OBSERVED RESULT
The same home directory is listed twice:
/home/labulubius Indexed
/home/labulubius Not indexed
The "Not indexed" entry for the home directory cannot be removed.
Running:
balooctl6 config list includeFolders
balooctl6 config list excludeFolders
prints:
kf.baloo: Failed to add exclude folder config entry for "/home/labulubius/"
and reports:
includeFolders:
/home/labulubius/Documents/
/home/labulubius/Pictures/
/home/labulubius/Videos/
/home/labulubius/Music/
/home/labulubius/
excludeFolders:
/home/labulubius/Archive/
I intentionally set ~/Archive to "Not indexed", so the Archive entry is
expected. However, /home/labulubius itself is not present in the reported
excludeFolders list, while System Settings still shows a second
/home/labulubius entry as "Not indexed".
EXPECTED RESULT
The home directory should appear only once in File Search, and the displayed
indexing state should match the effective Baloo configuration.
ADDITIONAL INFORMATION
My current user Baloo configuration (~/.config/baloofilerc) contains:
[General]
dbVersion=2
exclude folders[$e]=$HOME/,$HOME/Archive/
folders[$e]=$HOME/,$HOME/Documents/,$HOME/Music/,$HOME/Pictures/,$HOME/Videos/
only basic indexing=true
Fedora's system-level Baloo configuration at:
/usr/share/kde-settings/kde-profile/default/xdg/baloofilerc
contains:
[General]
exclude folders[$e]=$HOME
The combination of Fedora's system-level configuration and the user
configuration may be relevant to the duplicate entry.
A similar issue was reported in KDE Bug 425360, where the home directory could
appear as both "Indexed" and "Not Indexed" in the same File Search KCM. That
bug was fixed in Plasma 5.22, so this may be a regression or a different issue
with a similar symptom.
KDE Bug 488845 also reported duplicate home directory entries ("indexed" and
"not indexed") together with the same "Failed to add exclude folder config
entry" message. However, that report was filed against Dolphin search and was
resolved as part of the Dolphin search rewrite, while this report concerns the
File Search KCM in System Settings.
SOFTWARE/OS VERSIONS
Fedora Linux: 44
KDE Plasma: 6.7.4
plasma-systemsettings: 6.7.4-1.fc44.x86_64
kf6-baloo: 6.29.0-1.fc44.x86_64
--
You are receiving this mail because:
You are watching all bug changes.