Bug 382548

Summary: Search does not work within a symlinked folder.
Product: [Applications] dolphin Reporter: Sefa Eyeoglu <contact>
Component: searchAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: Martin, nate
Priority: NOR    
Version: 17.12.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sefa Eyeoglu 2017-07-20 17:58:08 UTC
I have a symlink under "/home/user/Music", which points to "/media/DATA/Music" (NTFS-Drive, which gets mounted on boot for all users).
If I go to to "/home/user/Music" with Dolphin and try to search for a file, it never finds any files.
If I then try to search under "/media/DATA/Music", it works how it should.

The NTFS is mounted like this in fstab:
/dev/sdb2    /media/DATA    ntfs-3g    rw,users,auto    0    0
Comment 1 Nate Graham 2017-09-03 02:54:33 UTC
Do you have baloo disabled, by any chance? I ask because baloo doesn't index external disks.
Comment 2 Sefa Eyeoglu 2017-09-03 06:38:15 UTC
baloo is enabled and that drive is not excluded. Even if baloo would ignore tge drive, it should still search for a file.
Comment 3 Sefa Eyeoglu 2017-10-29 13:49:10 UTC
(In reply to Sefa Eyeoglu from comment #0)
> I have a symlink under "/home/user/Music", which points to
> "/media/DATA/Music" (NTFS-Drive, which gets mounted on boot for all users).
> If I go to to "/home/user/Music" with Dolphin and try to search for a file,
> it never finds any files.
> If I then try to search under "/media/DATA/Music", it works how it should.
> 
> The NTFS is mounted like this in fstab:
> /dev/sdb2    /media/DATA    ntfs-3g    rw,users,auto    0    0

UPDATE: The issue happens with any symlinked folder.
Comment 4 Sefa Eyeoglu 2018-04-04 14:05:37 UTC
I was fiddling around with this again. Looks like it is not important, which type of partition the symlink points to.

If I create a symlink TO a mounted folder (like /media/user/MyDrive) and a search is started (with Ctrl+F) it does not find anything. If I then navigate to the drive it works.
Comment 5 fire f. 2018-06-11 19:44:26 UTC
usually dolphin-FIND does not work at all, here is the solution: https://bugs.kde.org/show_bug.cgi?id=395255
Comment 6 Sefa Eyeoglu 2019-08-14 17:12:54 UTC
As I don't have this problem anymore and don't have the same use-case anymore I will close this report and set it to NEEDSINFO