Bug 384437 - Dolphin does not respect Command arguments for opening remote file types
Summary: Dolphin does not respect Command arguments for opening remote file types
Status: RESOLVED DUPLICATE of bug 380349
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.3
Platform: Kubuntu Linux
: NOR major
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-06 14:47 UTC by Raul Kde Bugzilla
Modified: 2017-09-07 03:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raul Kde Bugzilla 2017-09-06 14:47:01 UTC
This might be owned by kio sftp or some other generic component.

When opening a remote ssh text file (sftp) in dolphin:
1 - Right click on the file
2 - Open With... (or other if there is an association already)
3 - type: kate %U
4 - Mark the checkbox "Remember application ...."
5 - OK

The file will open in kate and kate will know it is a remote file and save it thru sftp as expected.
e.g. [10.1.2.3]folder\_file

Now with the association, there is a context menu "Open with kate".
When using it it shows as:
14213_0\_file

As I understand, in this case is the same behaviour as not using %U in the kate call.

Dolphin/kio copies the file to some temporary folder and then passes to kate.

If I enter the file association in Properties -> File Type Options -> Application Preference Order -> kate -> Edit -> Application:

The command is "kate %U" as expected.

So, Dolphin does not respect the %U argument in the associated call.
Comment 1 Elvis Angelaccio 2017-09-06 20:14:21 UTC
This seems to be the same issue in https://bugs.kde.org/show_bug.cgi?id=380349 right?
Comment 2 Nate Graham 2017-09-07 03:39:20 UTC
Yep, looks like it.

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