Olá pessoal do Q4OS. O sistema está com uma falha no mecanismo de busca do Dolphin. O sistema ao invés de buscar arquivos somente na pasta atual, ou, na home do usuário, conforme a marcação que configuramos, ele busca no sistema inteiro(no /). Acho que ele começa dentro do diretório, mas não fica somente dentro dele...ele continua para o restante do /.
Valeu!! Abraços!
Hey Q4OS people. The system has a Dolphin search engine failure. The system, instead of searching for files only in the current folder, or in the user's home, according to the markup we configured, searches the entire system (in /). I think it starts inside the directory, but it doesn't just stay inside it...it continues to the rest of /.
Thanks!! Hugs!
Anonymous
Please create a new topic to report this bug in the support section of our forum https://www.q4os.org/forum/viewforum.php?id=3 . We will track this bug on the forum.
Thanks for the report, and for moving it over here.
Dolphin has two different search engines, and we need to know which one you
are hitting before we can say anything useful.
If file indexing (Baloo) is on and the folder is indexed, Dolphin queries
the index. There the "From Here" limit is part of the query and the search
cannot leave the folder. When something goes wrong in that mode it returns
too FEW results, never too many.
Otherwise Dolphin falls back to a helper called filenamesearch, which walks
the folder itself. That one does follow directory symlinks out of the
folder, by design. If something inside your Downloads is a symlink pointing
elsewhere, the search jumps to the target and carries on from there, and
does the same again at every symlink it meets - so it can end up walking
most of /. KDE added this in kio-extras 22.04: Q4OS 4 does not do it,
Q4OS 5 does.
So, two questions first:
[code]balooctl status[/code]
In the search results view, press Ctrl+L and copy the address here. It
starts with either [b]baloosearch:/[/b] or [b]filenamesearch:/[/b].
Indexing is on by default and covers your home folder, so searching inside
/home would normally use the first engine. You would only land on the second
one if file indexing was switched off, or that folder is excluded from it, or
the folder you searched is outside your home directory - another partition, an
external disk, or a mounted image.
If the address says filenamesearch, this will show the cause:
[code]find <the folder="" you="" searched=""> -type l -xtype d -exec ls -ld {} +[/code]</the>
Anything listed is a folder symlink, and the search will follow it out.
One more thing worth checking: Dolphin's result list shows file names only,
never the full path, so the screenshot cannot tell us whether those hits
really are outside Downloads. Please right-click the column header in the
results and switch on "Path", then look at where a few of them actually are.
Once we know which engine it is, the fix is either removing/moving the
symlink, or switching File Search on in System Settings -> Search so the
indexed engine is used instead.
Note that this is stock KDE behaviour, not something Q4OS changes, and it is
still present in current KDE - so upgrading to Q4OS 6 will not change it.