Summary: | search cannot find files if starting path has a symbolic link in itself. | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | rens <rens.groenewegen> |
Component: | search | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | anhollander516, john.kizer, kfm-devel, nicolas.fella, tagwerk19 |
Priority: | NOR | ||
Version First Reported In: | 22.12.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | ubuntu dolphin also does not detect files in a linked directory |
Description
rens
2025-03-14 19:05:03 UTC
removed that comment... forgot ... sorry....
>
> SUMMARY
> if one searches for a file when dolphin is in a path containing a link,
> nothing can be found.
>
> STEPS TO REPRODUCE
> 1. open dolphin, go to home dir, and hit f4 for a terminal window in
> dolphin. you are in your home dir
> 2. ln -s /tmp alink # link /tmp to a dir in your homedir
> 3. alink shows in file/dir panel,
> 4. double click. you will see all files in /tmp. plasma* will be all over
> the place
> 5. do ctrl-F for searching.
> 6. type plasma as search
> 7. nothing is found ... the result : "No items matching the search"
> OBSERVED RESULT
> dolphin cannot find files from this linked directory
>
> EXPECTED RESULT
> finds files in linked directory
>
> SOFTWARE/OS VERSIONS
> Windows:
> macOS:
> (available in the Info Center app, or by running `kinfo` in a terminal
> window)
> Linux/KDE Plasma: all since the start of the common era ( 0 BC )
> KDE Plasma Version: all current
> KDE Frameworks Version: all current
> Qt Version: all current
>
> ADDITIONAL INFORMATION
> this bug has been there for years. nobody ever noticed ?? thats hilarious...
I cannot reproduce this on Fedora 41. Created attachment 179474 [details]
ubuntu dolphin also does not detect files in a linked directory
Ubuntu dolphin shows same bug as in suse.
I installed Ubuntu for this in a 10 min.
I am trying to install fedora 41, and see if I can reproduce there.
it is extremely slow (as always)
(In reply to Avraham Hollander from comment #2) > I cannot reproduce this on Fedora 41. fedora 41 doesnt have dolphin / kde by default. did you install it ? Comment on attachment 179474 [details]
ubuntu dolphin also does not detect files in a linked directory
dl is a link to Downloads in the homedir.
a file called "afile" was created there.
however, Dolphin is not able to find it.
(In reply to rens from comment #4) > (In reply to Avraham Hollander from comment #2) > > I cannot reproduce this on Fedora 41. > > fedora 41 doesnt have dolphin / kde by default. did you install it ? Fedora KDE. Same difference. (In reply to rens from comment #0) > this bug has been there for years. nobody ever noticed ?? thats hilarious... There's Bug 447119... Maybe also Bug 463830 I am assuming you are using Baloo - that does not follow symlinks when indexing and that does break "searching from". I see at the bottom of Bug 463830 there's been some patches just submitted (In reply to tagwerk19 from comment #7) > ... does not follow symlinks when indexing and that does break "searching from" ... Worth checking what you see when you do a search "From Here" and "Your Files" (maybe "Your Files" appears as "Everywhere"). The "From Here" looks from your working folder, the "Your Files" adds in any other disks / folders you might have indexed. If you don't see the results when you search in "Your Files", then you'd need to index the /tmp folder. The important bit is that this does not happen automatically, you need to decide what you want to index.... (In reply to Avraham Hollander from comment #6) > ... Fedora KDE. Same difference ... Where did you create the symlink? In your home folder or down in one of Documents, Music, Pictures, Videos? Fedora behaves a bit differently. By default it indexes "those four" folders and not everything (so not anything you create in your home folder). If you have created the symlink under $HOME and you search from $HOME, Dolphin will do its own search... That *does* follow symlinks (so you should have found hits), it messes up and does not find matches in filenames if you are searching for content (baaad!) and it only finds content within text files (hmmm, but you can see why it has that limit). (In reply to Avraham Hollander from comment #6) > (In reply to rens from comment #4) > > (In reply to Avraham Hollander from comment #2) > > > I cannot reproduce this on Fedora 41. > > > > fedora 41 doesnt have dolphin / kde by default. did you install it ? > > Fedora KDE. Same difference. I got 41 downloaded. live workstation, installed from that. (excruciating slow in a KVM, unusable, really ) anyway, it doesnt have KDE. I assume you have different download image from somewhere ? could you point me at it ?? Tried installing dolphin, on this workstation stuff, but that fails to run. some missing symbol in some library. (In reply to Avraham Hollander from comment #6) > (In reply to rens from comment #4) > > (In reply to Avraham Hollander from comment #2) > > > I cannot reproduce this on Fedora 41. > > > > fedora 41 doesnt have dolphin / kde by default. did you install it ? > > Fedora KDE. Same difference. I got 41 downloaded. live workstation, installed from that. (excruciating slow in a KVM, unusable, really ) anyway, it doesnt have KDE. I assume you have different download image from somewhere ? could you point me at it ?? Tried installing dolphin, on this workstation stuff, but that fails to run. some missing symbol in some library. (In reply to tagwerk19 from comment #9) > (In reply to Avraham Hollander from comment #6) > > ... Fedora KDE. Same difference ... > Where did you create the symlink? In your home folder or down in one of > Documents, Music, Pictures, Videos? > > Fedora behaves a bit differently. By default it indexes "those four" folders > and not everything (so not anything you create in your home folder). If you > have created the symlink under $HOME and you search from $HOME, Dolphin will > do its own search... > > That *does* follow symlinks (so you should have found hits), it messes up > and does not find matches in filenames if you are searching for content > (baaad!) and it only finds content within text files (hmmm, but you can see > why it has that limit). I did it in /tmp, just like you did originally. I have search indexing fully disabled. Maybe that's why it works for me. (In reply to rens from comment #11) > (In reply to Avraham Hollander from comment #6) > > (In reply to rens from comment #4) > > > (In reply to Avraham Hollander from comment #2) > > > > I cannot reproduce this on Fedora 41. > > > > > > fedora 41 doesnt have dolphin / kde by default. did you install it ? > > > > Fedora KDE. Same difference. > > I got 41 downloaded. live workstation, installed from that. (excruciating > slow in a KVM, unusable, really ) > anyway, it doesnt have KDE. I assume you have different download image from > somewhere ? could you point me at it ?? > > Tried installing dolphin, on this workstation stuff, but that fails to run. > some missing symbol in some library. https://fedoraproject.org/spins/kde This situation is part of what's described in https://bugs.kde.org/show_bug.cgi?id=447119 . Merging this in to keep discussion together. Thanks. *** This bug has been marked as a duplicate of bug 447119 *** |