Created attachment 138757 [details] screeen recording SUMMARY Normally folders shared via Samba have an overlapping icon. However, this icon is not displayed when I open Dolphin using a link created on desktop. Please watch the attached screen recording. STEPS TO REPRODUCE 1. create a link to your Home on desktop 2. create a Samba share in your Home 3. close Dolphin 4. open Dolphin using the link to Home created on desktop EXPECTED RESULT Dolphin launched via link should display overlapping icon for Samba shares SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.2 Graphics Platform: X11
I feel like I've seen a similar bug report a couple months ago though for the life of me I can't remember what the specifics were. What I **think** happens here is that since you are inside a symlink the effective path of the directory is /home/stalker/Desktop/stalker/Apps which dolphin then doesn't find in the database of samba usershares because the path there is /home/stalker/Apps. i.e. something (not necessarily dolphin) would need to at some point resolve the path (which includes a symlink) to the canonical file path (which includes no symlinks anywhere). This is kind of problematic though because that would have to happen for every single directory that ever gets displayed in the view, potentially causing a lot of unnecessary disk access but certainly causing unnecessary power drain for basically only this niche corner case of share overlays (I dont think we have other overlays?). I'm not sure this is necessarily something we want to solve from an energy efficiency POV.
(In reply to Harald Sitter from comment #1) > I feel like I've seen a similar bug report a couple months ago though for > the life of me I can't remember what the specifics were. possibly bug 425678
Thanks. That's it. Of course there were no performance concern with the change to kdenetwork-filesharing since there's only ever one path we need to resolve. Quite a different story if it's 10k or more as would be the case here for dolphin's view.