Bug 390631

Summary: On middle-click, open file with second application in list with applications for this file type
Product: [Applications] dolphin Reporter: bugsug
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: elvis.angelaccio, kinbel, nate, nortexoid, stefano.crocco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 23.12

Description bugsug 2018-02-17 20:45:19 UTC
It would be great if there was the possibility to open a file with the second application in the list with the applications for this file type on midclick on the file. Midclick on files has no function in dolphin. When I develop for the web, I want to open a file in the browser as well as in kate and so this feature would be quite useful.
Comment 1 Michael D 2019-03-01 13:24:27 UTC
This is a great idea. Right now, there is neither a hotkey nor a mouse click option, so it is relatively tedious to open a file with another application.
Comment 2 Bug Janitor Service 2023-08-22 08:20:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/596
Comment 3 Méven Car 2023-08-23 12:36:01 UTC
Git commit d27ee07de7558470ef7b497fbe3d3504ce7cad07 by Méven Car, on behalf of Méven Car.
Committed on 23/08/2023 at 14:35.
Pushed by meven into branch 'master'.

On middle-click, open file with the second application for the file mime

M  +22   -0    src/dolphinviewcontainer.cpp
M  +5    -0    src/dolphinviewcontainer.h
M  +4    -1    src/views/dolphinview.cpp
M  +6    -0    src/views/dolphinview.h

https://invent.kde.org/system/dolphin/-/commit/d27ee07de7558470ef7b497fbe3d3504ce7cad07
Comment 4 Stefano Crocco 2023-12-28 13:09:09 UTC
I just realized that the implementation of this feature request broke the integration with Konqueror (and, I think, with any other application which embeds Dolphin part). For example, Konqueror used to preview the file in a new tab when the user middle-clicked on it. Now, it does nothing. I created a merge request (https://invent.kde.org/system/dolphin/-/merge_requests/691) attempting to restore the previous behavior when a Dolphin part is embedded in another application, while keeping the new one inside Dolphin.