Bug 446550

Summary: Tries to open files on FTP in web browser
Product: [Applications] dolphin Reporter: Linus Kardell <linus.kardell>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kfm-devel, nicolas.fella
Priority: NOR    
Version: 21.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Linus Kardell 2021-12-06 12:30:05 UTC
SUMMARY
When left clicking a file on an FTP server, Dolphin tries to open the file in the default web browser instead of the configured application.

STEPS TO REPRODUCE
1. Go to an FTP server in Dolphin
2. Find a file to open
3. Verify that it is bound to the correct application (e.g. for a text file, the top option in the right click menu i "Open with Kate")
4. Click the file

OBSERVED RESULT
Dolphin tries to open the file in the default web browser (I say tries, because my browser doesn't support FTP)

EXPECTED RESULT
Dolphin should open the file in the application configured for the file type

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20211130
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.15.5-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X 8-Core Processor
Memory: 62.7 Gibyte of RAM
Graphics Processor: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2
Comment 1 Nicolas Fella 2021-12-06 21:13:10 UTC
What is your default browser?
Comment 2 Nicolas Fella 2021-12-06 21:25:53 UTC

*** This bug has been marked as a duplicate of bug 443253 ***
Comment 3 Nicolas Fella 2021-12-06 21:28:14 UTC
Firefox advertises itself as a handler for FTP but can't actually handle it. That's an OpenSUSE bug I think.

However there also seems to be a bug in KDE stuff. It looks like it chooses the default app for ftp:// links over the default app for that file type
Comment 4 Nicolas Fella 2021-12-06 22:27:59 UTC
I reported the Firefox issue in https://bugzilla.opensuse.org/show_bug.cgi?id=1193455
Comment 5 Linus Kardell 2021-12-07 09:22:42 UTC
I use Firefox. Though it might also open it in Vivaldi if I change the default browser to that.