Created attachment 167817 [details] screenshot From all the availabe services for Dolphin from the KDE Store, the one called “Create folder from selected files” (https://store.kde.org/p/1560212) seems to make the most sense as a “general” i.e. “everyone benefits from it”- enhancement. Who doesn’t work with files in a file manager? I think it should be integrated in Dolphin in one form or another.
A KFileItemActions https://api.kde.org/frameworks/kio/html/classKFileItemActions.html in dolphin similar to the `copy to` `move to` ones is the way to implementing, using KNewFileMenu::creatDirectory https://api.kde.org/frameworks/kio/html/classKNewFileMenu.html
I developed this feature with directory create-copy-paste functions on dolphinmainwindow.cpp. But I don't know which is better, move or copy-paste actions?
Personally, I would prefer "move" - but @bugsie, as the OP, should have a say.
Also is there any shortcut advice for this action?
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/770
(In reply to Ahmet Hakan Çelik from comment #4) > Also is there any shortcut advice for this action? There won't be a way if it is implemented with a KFileItemAction. There is a feature https://bugs.kde.org/show_bug.cgi?id=260266 for this. This bug is on my radar, on my shortlist of priority bugs (in 3rd position).
(In reply to Ahmet Hakan Çelik from comment #2) > I developed this feature with directory create-copy-paste functions on > dolphinmainwindow.cpp. But I don't know which is better, move or copy-paste > actions? (In reply to Oded Arbel from comment #3) > Personally, I would prefer "move" - but @bugsie, as the OP, should have a > say. tl;dr: Just "move". The idea behind it is to do 1 simple (common) thing and do it well (fast & effectively), residing in the main (root) menu. For more complex "copy to" and "move to" other locations functionality there is already a context menu available under "Configure Dolphin" -> "Context Menu" -> "Copy to" and "move to" commands. I wrote about it in KDE's Brainstorm section a month ago, here's the link https://discuss.kde.org/t/dolphin-enhance-with-create-folder-from-selected-files/13038 for those who maybe want to participate there.