Version: (using KDE 4.2.2) OS: Linux Installed from: Gentoo Packages Hi, from time to time I need to rename the file before it is open. E.g.: An version bump of the ebuild is mostly done by renaming the .ebuild file, but it is good to check the ebuild content as well. The best option is to do it just in the open file dialog. Now it is possible trough "Properties" dialog, but would be good to have the rename option directly in the context menu. The same situation is in the save dialog. When I'm processing more files, could happen that I save file under the wrong name and I would like to correct it when I'm saving the next file. Again, it is possible trough "Properties", but direct rename option is better. Or when I'm creating a new directory and I do a mistake in the name. Direct rename is not possible from the context menu.
What do you mean with "direct rename"? When you show Properties, the name line edit is already selected, so you just need to type the new name and press Enter. This isn't more work than an additional Rename entry in the context menu. If you are talking about in-view rename: Please not! I hate this in Windows, where you cannot reliably click on a name without always getting this rename box.
Hi, I mean a "Rename" option in context menu. I know I can do it in the Options dialog, but I think not all users know about it. Also would be possible to have key shortcut for rename (F2 in dolphin)
I would need inline renaming as well. But not the direct renaming. That really was (still is) annoing in Windows and that is annoing in Mac OS X as well. The properties window does have the ability to rename the file but really, we do not rename files from filemanager from there either. We use F2 or context menu "rename". The renaming was removed at some point by usability reasons from Open/save dialog and I must say it was big mistake. Yes, the Open/Save dialog is not a filemanager but renaming a file is a very important feature. And especially if you have a change to create a new directory, you can in mistake to type wrong name and then you need to go to correct it by opening a filemanager, find the location and then rename it. That is how a normal people does it as they do not use the properties window at all. That is as well the reason why Microsoft and Apple allows the renaming by clicking two times the name as it is easier than context menu. I have the properties tied to Alt+Enter shortcut. But it does not work in Open/Save dialog so well as the name is not selected so I could just correct the name and press enter. Actually it does not work anywhere by that way in 4.5.1. As I call, making name not selected was as well a one usability case as it caused people to clear the name by mistake. But there is not even a Alt shortcut to get to name so I could make Alt+Enter, Alt+N <new name>, Enter The rename should come back to the Open/Save dialog.
*** This bug has been confirmed by popular vote. ***
*** Bug 351001 has been marked as a duplicate of this bug. ***
*** Bug 188507 has been marked as a duplicate of this bug. ***
*** Bug 214498 has been marked as a duplicate of this bug. ***
This is very important to me as well! It's a feature i miss almost everyday at work. Every ime i need to rename a file from the open dialog i have to go to the file proprieties. Very boring!!!
I am currently working on this. It's a little more involved than I was hoping because KIO doesn't actually have its own renaming UI. I need to either write one or upstream Dolphin's, which is what I'm trying to do right now.
Here's the patch: https://phabricator.kde.org/D17596
Git commit 3f5341d3d7e23e3d1f160cd6f4d8188411d75f80 by Méven Car. Committed on 06/01/2020 at 19:40. Pushed by meven into branch 'master'. Upstream Dolphin's file rename dialog Summary: KIO didn't actually have its own rename dialog, which is necessary to implement the requested rename-from-the-file-dialog feature (189482). This patch upstreams Dolphin's dialog so all KIO::FileWidgets users can use it. The file's contents are copied from Dolphin and updated, but the name is changed from `RenameDialog` to `RenameFileDialog` because `RenameDialog` already exists in KIO (and is actually an //overwrite// dialog, but we can't rename it until KF6). Test Plan: Apply D17596 or D17597 and initiate a rename operation for one or more files. See that it works as expected. Tests still pass. Reviewers: #frameworks, #dolphin, broulik, ngraham, dfaure, elvisangelaccio Reviewed By: #dolphin, ngraham, dfaure, elvisangelaccio Subscribers: elvisangelaccio, lydia, dfaure, sitter, mitchell, emmanuelp, ltoscano, bruns, meven, dhaumann, pino, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D17595 M +2 -0 src/widgets/CMakeLists.txt A +256 -0 src/widgets/renamefiledialog.cpp [License: LGPL (v2+)] A +79 -0 src/widgets/renamefiledialog.h [License: LGPL (v2+)] https://commits.kde.org/kio/3f5341d3d7e23e3d1f160cd6f4d8188411d75f80
Git commit 5ee3e7bb4797a837db1d9de3e661726e623c4cd6 by Nate Graham. Committed on 06/01/2020 at 21:24. Pushed by ngraham into branch 'master'. [KDirOperator] Allow renaming files from the context menu Summary: FIXED-IN: 5.67 Depends on D17595 Test Plan: {F6477636} - Using the menu item works to rename one or more items - The menu item is disables when there's no selection - This menu item is inappropriately enabled for items that cannot be deleted, just like the trash/delete menu item (pre-existing bug, will fix in another patch) Reviewers: #frameworks, #dolphin, meven Reviewed By: meven Subscribers: meven, cfeck, emateli, elvisangelaccio, markuss, dhaumann, kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D17596 M +26 -0 src/filewidgets/kdiroperator.cpp M +7 -0 src/filewidgets/kdiroperator.h https://commits.kde.org/kio/5ee3e7bb4797a837db1d9de3e661726e623c4cd6
Will we get this in Plasma 5.18? :)
Plasma and Frameworks are released separately. If you use Plasma 5.18 with Frameworks 5.67, then you will have this feature.
OK, thanks. I was with the impression that each version of Plasma depended on a specific Frameworks version... Thanks for clearing that out :)