Add a shortcut for copying current directory. That is the most used operation I used for editable location! Reproducible: Always
Thanks for the suggestion, but I really don't see what is missing from your point of view. If you switch to "Editable location", the text is selected already, and pressing Ctrl+C copies it. If the text is not selected yet, you have to press Ctrl+A and Ctrl+C. Is that really so inconvenient that you need a special new shortcut?
The point of this report is to create a shortcut for this operation so that it is no longer necessary to temporarily switching to the Editable Location mode. If you need the current URL into the clipboard, you need to press F6, Ctrl+A, Ctrl+C, Esc. That's already four keystrokes. This report does not belong to kfile, because the URL navigator usually does not have focus, unless it is already in Editable Location mode, so it cannot be fixed there. If this is to be solved by a window-global shortcut, it has to be solved within the application. If you do not want to add the operation in Dolphin, please close as WONTFIX.
Sorry for not understanding the wish correctly (probably the word "editable location" confused me), and thanks for the clarification, Christoph! (In reply to comment #2) > If you need the current URL into the clipboard, you need to press F6, > Ctrl+A, Ctrl+C, Esc. That's already four keystrokes. 3 are sufficient: Ctrl+L, Ctrl+C, Esc. I see that it could be made easier with a new shortcut, but this is one of the cases where I wonder if this feature is really useful enough that it justifies adding code which must be maintained in the future, and adding another action that makes the shortcuts dialog harder to use (I admit that it's a big mess not not very useable already). > If you do not want to add the operation in Dolphin, please close as WONTFIX. I would suggest to discuss the issue at KDE Brainstorm: http://forum.kde.org/viewforum.php?f=83 bugs.kde.org is basically useless for the discussion of new features and for finding out how much demand there is. If the idea gets a lot of support at KDE Brainstorm, and someone is willing to implement the feature, then we could add it.
Looks like somebody read this, and created http://kde-apps.org/content/show.php/Copy+full+path?content=160417 Now, if there would be a way to set shortcuts on service menu entries ...
(In reply to comment #4) > Now, if there would be a way to set shortcuts on service menu entries ... Yes, you're right. This is not the first time that it seems that "service menu shortcuts" could make it much easier to customize Dolphin. However, I'm not sure if there is a straightforward way to implement such a thing. The QActions for the service menus are loaded dynamically when the context menu is shown, so we cannot really assign a shortcut to these actions in advance. One would need some kind of "proxy action", which loads and invokes the real action when the shortcut is pressed. Moreover, the available service menus depend on the type(s) of the selected files, and some of the actions even require some custom code to be executed to determine which actions to show (if they are implemented as KAbstractFileItemActions).
Well, If we can add this feature as shortcut "Ctrl+Shift+C", we can also have "Ctrl+Shift+V", enter the url provided in the clip.
Implemented in https://git.reviewboard.kde.org/r/115357/
We have all information & a patch would even be available. I'll set the status to CONFIRMED, but we still need to consider whether this feature makes sense to implement or not.
I think this has been fixed in 86e3b82e on Jun 29, 2020 (https://github.com/KDE/dolphin/commit/86e3b82efbbcdb287773cdaf6a5f4c1c22bb9fc6).
Sorry, the commit I sent copies the first selected item, not the current directory's path. So this issue is not resolved. Nonetheless, that functionality has now occupied the "Ctrl+Shift+C" shortcut, so it can't be used for copying the current directory.