Bug 423901 - balooctl automatically re-adds default dirs after deleting every item in the list
Summary: balooctl automatically re-adds default dirs after deleting every item in the ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: balooctl (show other bugs)
Version: 5.71.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-05 13:05 UTC by slartibart70
Modified: 2020-07-06 07:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slartibart70 2020-07-05 13:05:54 UTC
i found something interesting happening when using balooctl...
Example:

balooctl config includeFolders ls

will show this on my system

/home/userName/Documents/
/home/userName/Pictures/
/home/userName/Videos/
/home/userName/Music/

I can remove those directories individually with, e.g.

balooctl config includeFolders rm /home/userName/Documents/

all is fine until i remove the last entry, then the next thing happening is that the list is filled again with those 4 entries mentioned above. For, me, this does not look like a sane default, especially when i try to override it...
Comment 1 Stefan Brüns 2020-07-05 16:42:07 UTC
Fedora patches baloo, blame them.
Comment 2 Rex Dieter 2020-07-05 21:31:37 UTC
That's a poor excuse, fedora simply defaults to document-centric XDG dirs, though the implementation may leave something to be desired.

At one time, kde/baloo upstream told me they'd likely move to this default too, but that was awhile ago.
Comment 3 Rex Dieter 2020-07-05 21:35:39 UTC
In particular, any suggestions on how to better improve the implementation is welcome,
https://src.fedoraproject.org/rpms/kf5-baloo/blob/master/f/baloo-5.67.0-baloofile_config.patch