Bug 446715 - Search does not work in directories with a link.
Summary: Search does not work in directories with a link.
Status: RESOLVED DUPLICATE of bug 447119
Alias: None
Product: dolphin
Classification: Applications
Component: search (show other bugs)
Version: 21.08.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-09 07:55 UTC by Landgraf132
Modified: 2021-12-18 09:19 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 Landgraf132 2021-12-09 07:55:20 UTC
SUMMARY
***
Search does not work in directories with a link.
***


STEPS TO REPRODUCE
1.  I add link to other dir "Видео -> /media/hddHome/landgrafpc/Видео/"
2.  Open "Видео" dir and press Ctrl+F. Entered the name of the file that is there. 
3.  Search found nothing (but the console search utility did just fine)


OBSERVED RESULT

File found

EXPECTED RESULT

File not found

SOFTWARE/OS VERSIONS

Linux/KDE Plasma:  KDE Neon 5.23
(available in About System)
KDE Plasma Version:  5.23.4
KDE Frameworks Version:  5.88.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
After trying to use find with ctrl+f, dolphin writes to the terminal: 
cd /run/user/1000/kio-fuse-LmZgVg/baloosearch
sed: error while loading shared libraries: tls/x86_64/x86_64/libacl.so.1: cannot read file data: Error 21
Comment 1 tagwerk19 2021-12-09 08:45:19 UTC
Yes, it's a constraint...

Or the constraint is that baloo works on the assumption that there's a one-to-one mapping between the filename and the device number/inode. Meaning if you have a filename, it can lookup an Id (based on the device number/inode); if you have a device number/inode you can work back to what the indexed filename was.

Symbolic links add an extra level of complexity.

See Bug 333678, Bug 439438 and also Bug 435383, scroll down to:
    https://bugs.kde.org/show_bug.cgi?id=435383#c13
The latter gives a potential workround plus a "Don't do that" in the next comment from the maintainer :-/

Confirming but I think it should be a duplicate of 333678...
Comment 2 tagwerk19 2021-12-18 09:19:23 UTC
I've created a separate bug that summarises Dolphin/Baloo "symlink troubles", Bug 447119

I think the issue here is described in 447119 "Case 2a" (and in the "Wished For Results"). Symlinks do seem to be the cause of a collection of confusing behaviours.

Will flag this as a duplicate. If you feel that's wrong and I've missed or misunderstood something, reopen this issue and append details.

*** This bug has been marked as a duplicate of bug 447119 ***