Bug 377116 - Unexpected behavior when calling dolphin with a file as an argument
Summary: Unexpected behavior when calling dolphin with a file as an argument
Status: ASSIGNED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 16.12.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-02 16:20 UTC by Aleix Pol
Modified: 2021-01-03 03:25 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleix Pol 2017-03-02 16:20:59 UTC
Example: "dolphin /etc/fstab"

What we get:
dolphin in a broken state and kate triggered to open the file.
If I wanted to open the file, I'd use xdg-open or kate directly.

What I'd like:
dolphin is opened on /etc and fstab is visibly selected. Pressing "Enter" will open the document, but I still can perform actions on the file.
Comment 1 Elvis Angelaccio 2017-04-22 08:52:43 UTC
dolphin --select /etc/fstab does what you want, but I agree that Dolphin should not treat files as folders when --select is not used.
Comment 2 Julian Steinmann 2018-05-18 18:07:17 UTC
This is still the case as of Dolphin 18.04 -> confirmed.
Comment 3 Patrick Silva 2019-03-25 15:58:27 UTC
Dolphin 18.12.3 has the same behavior on Arch Linux.
Comment 4 Mike Krutov 2019-03-25 18:13:30 UTC
I've made a small patch for this: https://phabricator.kde.org/D20049
Comment 5 Justin Zobel 2021-01-03 03:25:14 UTC
(In reply to Mike Krutov from comment #4)
> I've made a small patch for this: https://phabricator.kde.org/D20049

Are you able to review this patch and also port it to Gitlab: https://invent.kde.org/system/dolphin/