Bug 442195 - Remote shortcut on desktop no longer opened by Dolphin
Summary: Remote shortcut on desktop no longer opened by Dolphin
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-08 21:59 UTC by Ian Goddard
Modified: 2021-09-10 13:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Goddard 2021-09-08 21:59:38 UTC
SUMMARY


STEPS TO REPRODUCE
1. Need network access to an FTP server
2. Create a remote folder link with Dolphin
3. Click on the desktop icon for the folder

OBSERVED RESULT
Nothing.

EXPECTED RESULT
Link opens with Dolphin

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Devuan Chimaera (Debian stable is closest) Kernel 5.10.0-8-amd64
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
Contents of ,desktop file:
[Desktop Entry]

Charset=
Icon=folder-remote
Name=Willow
Type=Link
URL=ftp://ian@willow:21/share


Right click shows default open with application as Kate.

Work around is to select Dolphin from the application list and tick the always use this box.  This is OK if there are no other .desktop files on the Desktop - if there are Dolphin would attempt to open them however inappropriate that might be.

Opening Dolphin manually, clicking Network in the left hand panel then clicking the icon in the main panel opens it as expected.
Comment 1 Nate Graham 2021-09-09 17:38:12 UTC
Can confirm.

Not sure if this is a Dolphin issue or a general KIO issue though.
Comment 2 Ahmad Samir 2021-09-09 18:06:28 UTC
Could you post more detailed steps to reproduce the bug? how do you create a remote folder link with Dolphin?
Comment 3 Nate Graham 2021-09-09 18:12:23 UTC
You can reproduce the issue by creating a desktop file with the contents listed in the original report:


[Desktop Entry]

Charset=
Icon=folder-remote
Name=Willow
Type=Link
URL=ftp://ian@willow:21/share



I was able to reproduce the issue with that.
Comment 4 Ian Goddard 2021-09-10 08:27:36 UTC
(In reply to Ahmad Samir from comment #2)
> Could you post more detailed steps to reproduce the bug? how do you create a
> remote folder link with Dolphin?

As Nate syas, you can create a desktop file with the appropriate text but otherwise, click on Remote>Network>Add Network Folder and follow the wizard.
Comment 5 Ian Goddard 2021-09-10 08:32:00 UTC
(In reply to Nate Graham from comment #1)
> Can confirm.
> 
> Not sure if this is a Dolphin issue or a general KIO issue though.

I wasn't sure where it should go either but I'm not familiar with the options and Dolphin seemed a reasonable starting point.
Comment 6 Ahmad Samir 2021-09-10 12:48:40 UTC
Seems to work here and the (s)ftp server I tested with was opened in dolphin.

Try:
kioclient5 exec ~/.local/share/remoteview/<filename>.desktop

and post any output here. (If you get no output, try first running `export QT_LOGGING_RULES="*kio*=true;"` then run the kioclient5 command again).
Comment 7 Ian Goddard 2021-09-10 13:33:32 UTC
(In reply to Ahmad Samir from comment #6)
> Seems to work here and the (s)ftp server I tested with was opened in dolphin.
> 
> Try:
> kioclient5 exec ~/.local/share/remoteview/<filename>.desktop
> 
> and post any output here. (If you get no output, try first running `export
> QT_LOGGING_RULES="*kio*=true;"` then run the kioclient5 command again).

kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kdeconnect.so" supports protocols ("kdeconnect")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/trash.so" supports protocols ("trash")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/archive.so" supports protocols ("ar", "sevenz", "tar", "zip")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/smb.so" supports protocols ("cifs", "smb")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/http.so" supports protocols ("http", "https", "webdav", "webdavs")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/ftp.so" supports protocols ("ftp")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/ghelp.so" supports protocols ("ghelp")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so" supports protocols ("file")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/remote.so" supports protocols ("remote")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/help.so" supports protocols ("help")
kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/recentlyused.so" supports protocols ("recentlyused")


Hmmm.  ftp is included!
Comment 8 Ian Goddard 2021-09-10 13:45:26 UTC
(In reply to Ian Goddard from comment #7)
> (In reply to Ahmad Samir from comment #6)
> > Seems to work here and the (s)ftp server I tested with was opened in dolphin.
> > 
> > Try:
> > kioclient5 exec ~/.local/share/remoteview/<filename>.desktop
> > 
> > and post any output here. (If you get no output, try first running `export
> > QT_LOGGING_RULES="*kio*=true;"` then run the kioclient5 command again).
> 
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kdeconnect.so"
> supports protocols ("kdeconnect")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/trash.so"
> supports protocols ("trash")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/archive.so"
> supports protocols ("ar", "sevenz", "tar", "zip")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/smb.so" supports
> protocols ("cifs", "smb")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/http.so"
> supports protocols ("http", "https", "webdav", "webdavs")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/ftp.so" supports
> protocols ("ftp")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/ghelp.so"
> supports protocols ("ghelp")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so"
> supports protocols ("file")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/remote.so"
> supports protocols ("remote")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/help.so"
> supports protocols ("help")
> kf.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/recentlyused.so"
> supports protocols ("recentlyused")
> 
> 
> Hmmm.  ftp is included!

On second thoughts I suppose it isn't s surprise.  I suppose it's the library that Dolphon uses so it must be there.  The problem is that unless Dolphin is specifically told to handle all .desktops it doesn't handle ftps.