https://bugs.kde.org/show_bug.cgi?id=429910

--- Comment #7 from pveax <pv...@mailforspam.com> ---
> What do you have in your .config/baloofilerc file?

Hi, tagwerk19!

Currently it is:

```
[Basic Settings]
Indexing-Enabled=false

[General]
dbVersion=2
exclude filters=<long line. hidden 'til the end of line>
exclude filters version=8
only basic indexing=true
```

But I have that /home/<username> item in the `Folder specific configuration:`
list.

Most probably it is hard-coded somewhere.
The issue `Reported:    2020-12-01`.
Is it almost impossible to that bug to be that complicated to locate it in code
and to understand why it was hard-coded instead of using configuration which
contains the `~/.config/baloofilerc` file.

Probably the bug is poor-described. Let me fix it:

Behavior is the next:
0. Press "Start" btn (meta key)
1. Open `System Settings`.
2. Go to `Workspace` section. Than `Search` -> `File search`.
3. Check `Enable File Search` to enable it.
The `Folder specific configuration:` became editable. It contains
/home/<username> item with the `indexed` option chosen by default. it is the
only item in the list.
4. Press `Apply`.
5. Switch to `KRunner` item in the left panel (there are 3 items only, 3rd is
`Web Search Keywords`).
6. Switch back to `File Search` item.

Only 1 item is present. No changes.

the `~/.config/baloofilerc` file became:
```
[General]
dbVersion=2
exclude filters=<hidden>
exclude filters version=8
only basic indexing=true
```

7. We have only one item listed. Change it mode from `Indexed` to `Not
indexed`.
8. Hit `Apply` btn.

No I see the the only item in that list.
The `~/.config/baloofilerc` file became:
```
[General]
dbVersion=2
exclude filters=<hidden>
exclude filters version=8
exclude folders[$e]=$HOME/
only basic indexing=true
```

9. Re-do the (5) and (6) steps (so just switch to show another component
settings and back).
10. Now I see that 2 items are listed:
/home/<username> Indexed
/home/<username> Not indexed

The `~/.config/baloofilerc` file became:
```
[General]
dbVersion=2
exclude filters=<hidden>
exclude filters version=8
exclude folders[$e]=$HOME/
only basic indexing=true
```

So on some stage of (9) step some component adds that additional
"/home/<username> Indexed" item. That's the point of bug.
Let a user to manage the list without malware-like behavior of constantly added
of the "/home/<username> Indexed" (so non-removable) item.

It is not about config: `~/.config/baloofilerc` does not rule that unwanted
silent behavior. Most probably it is hard-coded.

---
Current System Info:
```
Operating System: Manjaro Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-0-MANJARO (64-bit)
Graphics Platform: X11
```

Are there any more questions?


Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to