As it should be! So nothing wrong there.
I don’t know why you think that would be the case. As far as i understand ripgrep it’s doing the search on the fly with no index being build. It should be far slower then anything with an index (baloo should be faster). If it’s not then there are bugs affecting it’s performance.
I don’t consider that a valid or usable way. That script you’re talking about will be overwritten when there’s a package update. Or there will be a conflict because of an edited file. These options worked for you during development because you had nothing updating the file “behind your back” besides you yourself. Now the distribution package manager is effectively controlling the file.
It’s also generally considered ill advised to modify system files. Go ask distributions what they think of it, they probably don’t recommend that approach.
The more proper route would be for the script to call some user-defined scripts. Just as an example from a completely different piece of software. Nginx. It loads /etc/nginx/nginx.conf
and from within that file loads all the files in /etc/nginx/conf.d/*.conf
(which are not part of the installer package).
You’re flipping the question.
Why would having ripgrep be installed all of a sudden affect how dolphin searches? To them this would be a question of: “huh, i disabled baloo, why does this search still use it?” As that’s exactly what’s happening.
You now essentially only give one real option of disabling it. Uninstalling ripgrep. That’s unrealistic as it has nothing to do with KDE, you’re merely using it.
The proper way, in my opinion, would’ve been to make a custom kioslave that can be enabled or disabled. Just like filenamesearch but not hacked into it.
I do want to remind you that not giving the option will cause you backlash sooner or later.
- Baloo initially had no easy way to be disabled besides fiddling with commands, a way was added at some point.
- Remember the KDE 4.x cashew? It took years of backlash. There even was a plugin called
ihatethecashew
which removed it. Eventually they provided an option to disable it.
- KWallet, awesome tech, but it annoyed many users too. An option there was also given to disable it.
There’s many more areas where this happened, specifically when related to search. However good you think it is really doesn’t matter, there will be people just having none of it and wanting an option to disable it.
Don’t make the same mistake as your predecessors and give an actual way to disable ripgrep. To make it discoverable i’d put it in the File Search
system settings as that’s where it makes sense to have it.