Bug 376938

Summary: Desktop entry link to device unconditionally tries to re-mount it
Product: [Frameworks and Libraries] frameworks-kio Reporter: Roberto M. <roby_programmer>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: it's in italian sorry

Description Roberto M. 2017-02-26 02:01:49 UTC
Created attachment 104227 [details]
it's in italian sorry

I can see from dolphin my NFS share, when I click it, dolphin mount it, and show inside, if I click again he same

if I right click on desktop (Kubuntu 16.10) , choose create, and choose link to device, if I choose the NFS volume in fstab, it will create an icon on desktop.

All ok till now

Problem:
when NFS is not mounted, and I click on NFS icon (or shortcut),it mount and open dolphin and see inside the share

if it's already mounted if I click on it, I  will get an errorr message an it will not open, doplhin not start

error is  :
Impossible to mount device
The reported error is:
mount.ntfs4:/mnt/nfs/home busy or already mounted


copy of .destop file

[Desktop Entry]
Dev=192.168.0.11:/media/Data
Icon=drive-harddisk
MountPoint=/mnt/nfs/home
ReadOnly=false
Type=FSDevice


no change

same of a normal hdd in the system or a samba share, no rpoblem

how to solve it?, it should check if is mounted or not, first case act like normal second case no try to mount and no error message and open dolphin on share...

with dolphin  no problem