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.
dolphin --select /etc/fstab does what you want, but I agree that Dolphin should not treat files as folders when --select is not used.
This is still the case as of Dolphin 18.04 -> confirmed.
Dolphin 18.12.3 has the same behavior on Arch Linux.
I've made a small patch for this: https://phabricator.kde.org/D20049
(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/