Summary: | [Dolphin] Enhance with “Create folder from selected files” | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | bugsie <bugsie> |
Component: | general | Assignee: | Ahmet Hakan Çelik <mail> |
Status: | ASSIGNED --- | ||
Severity: | wishlist | CC: | ben2talk, bugseforuns, fanzhuyifan, kfm-devel, mail, meven29, oded, serix2004 |
Priority: | NOR | Keywords: | junior-jobs |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | screenshot |
Description
bugsie
2024-03-26 21:19:48 UTC
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. |