Bug 487212

Summary: Setting home directory to "Indexed" creates a duplicate, unremovable entry in System Settings
Product: [Applications] systemsettings Reporter: pmquinn5
Component: kcm_balooAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: baloo-bugs-null, nicolas.fella, pmquinn5
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description pmquinn5 2024-05-18 22:58:29 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

[BUG] Setting home directory to "Indexed" creates a duplicate, unremovable entry in System Settings

STEPS TO REPRODUCE
        
      Open File Search - System Settings

        
      Change your home directory to Indexed

        
      Click apply, then navigate to a different page and back to the original page, so it refreshes

        
      Observe that there are now two entries for your home directory, one indexed and one not indexed. Neither is removable.

OBSERVED RESULT
   Observe that there are now two entries for your home directory, one indexed and one not indexed. Neither is removable.

EXPECTED RESULT

There should not be duplicate entries.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 40
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION

Steps 1-4 can be repeated, generating an endless number of duplicate entries. Screenshot of four (there should only ever be one) unremovable entries for my home directory, after repeating steps 1-4 three times:
https://invent.kde.org/plasma/systemsettings/uploads/c9290b379407acaf104a477f836ef1e1/image.png