Bug 134723

Summary: smb links aren't followed in file/open (or file/save) dialogues
Product: [Applications] kfile Reporter: Jeffrey <eljefedelito>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: angel_blue_co2004, finex, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jeffrey 2006-09-27 04:26:32 UTC
Version:           3.4.3 (using KDE KDE 3.5.3)
Installed from:    Ubuntu Packages
OS:                Linux

Samba share URLs should be followed just as a Directory is followed, or as a second drive is mounted into the first -- transparently.

At work I have a number of network shares, etc.  I can access them all in my Konqueror, and have since linked them onto the desktop and renamed their rediculous URL "names" to something more appropriate for my memory (below is an example of a home directory on the "x drive".  Yeah, windows-naming-convention, i know, but that itself isn't the bug ;)

When I click on one of these, the file share opens in Konqueror, just like I was opening a directory.  But if I try to open one of these URL/links in Kaffeine or OpenOffice.org.... well, in Kaffeine they just don't appear at all (its not a media file I suppose), and OpenOffice.org opens the link as a text file itself, displaying the following:

[Desktop Entry]
Icon=samba
Name=x: jfoobarski
Name[en_US]=x: jfoobarski
Type=Link
URL=smb://alpha.tango/home/jfoobarski/

I tried adding these as a constant "entry" on the left side of an open dialogue, but they disappear when i close and re-open the window.  I understand that they may not always be present, but maybe they can be polled/pinged before displaying the dialogue, and have them available if they're available for use?  Thanks!
Comment 1 Angel Blue01 2009-03-11 19:24:43 UTC
This looks like a duplicate of this issue:https://bugs.kde.org/show_bug.cgi?id=102161
Comment 2 FiNeX 2009-08-04 14:14:22 UTC
@Angel: bug #102161 is a bit different: on that bug the reporter is trying to access to the remote samba share manually writing the address, here he's using a .desktop link.

This bug now has evolved. On KDE4, if you click on a .desktop file with a link to a samba share from a file dialog, there are three cases:

1) from konqueror: you're asked if you want to execute the .desktop file
2) from kate and other programs which opens files: the file is simply opened
3) from gwenview which uses the file dialog selector for browsing directories, the .desktop file is not shown.
Comment 3 Nate Graham 2018-04-11 20:32:25 UTC

*** This bug has been marked as a duplicate of bug 88019 ***