Bug 455221

Summary: File Search KCM allows selection of folder on remote filesystem but it's not indexed
Product: [Applications] systemsettings Reporter: Paul Worrall <p.r.worrall>
Component: kcm_balooAssignee: baloo-bugs-null
Status: CONFIRMED ---    
Severity: minor CC: nate, plasma-bugs-null, tagwerk19
Priority: NOR Keywords: usability
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul Worrall 2022-06-13 18:46:13 UTC
STEPS TO REPRODUCE
Go to the File Search KCM, choose "Start indexing a folder" and navigate to a folder on an smb share, e.g. "smb://server.local/music/David Bowie"

OBSERVED RESULT
The KCM adds the folder "/", and this is confirmed by "balooctl config show includeFolders"

EXPECTED RESULT
If baloo is able index a remote folder then the KCM should configure it properly; if it can't, the KCM should not allow selection of a remote folder.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.25.80
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.4
Kernel Version: 5.13.0-48-generic (64-bit)
Graphics Platform: X11
Processors: 2 × AMD A6-6400K APU with Radeon(tm) HD Graphics
Memory: 7.7 GiB of RAM
Graphics Processor: AMD CEDAR
Manufacturer: NOVATECH LTD
Product Name: BB-64004H
System Version: V1.0

ADDITIONAL INFORMATION
Bug 187649 comment #3
Comment 1 Nate Graham 2022-06-14 17:39:28 UTC
Quite true. We should probably warn the user in this case or lock out remote locations if possible, since the fact that they aren't indexable is an implementation detail that's not obvious.