Bug 445857

Summary: CIFS network mounts visible in Dolphin's Places panel are not present in Places > Computer > Remote
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Application Launcher (Kickoff) widgetAssignee: David Edmundson <kde>
Status: CONFIRMED ---    
Severity: normal CC: mikel5764, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Patrick Silva 2021-11-21 11:19:50 UTC
STEPS TO REPRODUCE
1. add to your /etc/fstab file a line to mount a CIFS network share
2. open Dolphin and observe your network share under 'Remote' section of Places panel
3. open Kickoff, click on 'Places' on bottom, observe 'Remote' section under 'Computer'.

OBSERVED RESULT
CIFS network shares are not present in Kickoff under Places > Computer > Remote

EXPECTED RESULT
the same remote locations should be present in Dolphin and Kickoff

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Graphics Platform: Wayland

ADDITIONAL INFORMATION
My network shares in /etc/fstab file:

//192.168.0.50/2TB/Filmes /mnt/Samba cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=myuser,gid=mygroup,noauto
//192.168.0.50/SEAGATE /mnt/SEAGATE cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=myuser,gid=mygroup,noauto
//192.168.0.50/WIN7 /mnt/WIN7 cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=myuser,gid=mygroup,noauto
//192.168.0.50/WD /mnt/WD cifs workgroup=workgroup,user,guest,iocharset=utf8,uid=myuser,gid=mygroup,noauto
Comment 1 Patrick Silva 2021-11-21 11:20:40 UTC
Created attachment 143800 [details]
screenshot

Please see the attached screenshot.
Comment 2 Nate Graham 2021-11-24 04:09:24 UTC
This can't be done, because any code to detect mounted network shares would involve querying them which could cause the system to hang if the mount's network location isn't available.

Don't mount network shares as local folders. :) Use KIO-enabled apps and kio-fuse.
Comment 3 Nate Graham 2021-11-24 04:11:03 UTC
Oh, unless we already do so in Dolphin without causing any problems as your screenshot shows. So yeah we should re-use the same data.