Bug 318865 - kfmclient openURL with inode/directory does not honor prefered file manager, opens konqueror always
Summary: kfmclient openURL with inode/directory does not honor prefered file manager, ...
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.10.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-25 17:20 UTC by Kai Damm
Modified: 2013-05-05 12:57 UTC (History)
1 user (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 Kai Damm 2013-04-25 17:20:09 UTC
Steps to reproduce:

1. Verify in systemsettings that dolphin is the prefered file manager
2. from konsole: kfmclient openURL ~

Expected result: Run dolphin

Actual result: konqueror is started


xdg-open behaves correctly, as does kde-open.

This is different from #155713, as dolphin is in the inode list (at top position for inode/directory) in MIME type handling in systemsettings.
Comment 1 Christoph Feck 2013-04-25 18:55:00 UTC
From what I see, this is intended. Konqueror has a special mode, where it can stay in memory, even if all windows are closed. Using this tool, you can start such a dormant Konqueror.

Not closing, because maintainer decides.
Comment 2 Kai Damm 2013-04-25 19:02:10 UTC
This is inconsistent with handling of other protocols: 

kfmclient openURL http://www.duckduckgo.com/  opens firefox (default browser).

The reason I noticed this is firefox's function "open containing folder" with downloads. There are possible workarounds, but these are more or less "dirty". Firefox seems to use kfmclient or trigger something which does.
Comment 3 David Faure 2013-05-05 12:57:01 UTC
"kfm" is the old name for konqueror, so "kfmclient" aims at controlling konqueror.
But indeed it obeys the BrowserApplication setting, when set (special case, due to code sharing).

For the general case of "open the preferred app for this file", kde-open is the answer.