GNOME Bugzilla – Bug 686023
Ctrl+Z undoes rename even if editing another file's name
Last modified: 2017-08-08 17:06:21 UTC
nautilus-3.6.0-1.fc18.x86_64 Instead, it should undo whatever editing I've done in the text field/filename edit box. 1. Rename file1 to blah1 2. Edit file2's name to arfarf2 3. Whilst still editing, press Ctrl+Z What happens: blah1 is renamed to file1, the 2nd file's name stays arfarf2 What is should do: Keep me in the edit box, have arfarf2 renamed to file2
*** Bug 682661 has been marked as a duplicate of this bug. ***
Still present in 2016.
*** Bug 719630 has been marked as a duplicate of this bug. ***
Created attachment 357180 [details] [review] rename-file-popover-controller: consume ^Z Pressing ^Z while renaming a file results in undoing the last completed operation, which breaks expectations. This commit makes ^Z revert the text in the name entry to the display name of the target file.
Review of attachment 357180 [details] [review]: Nice, thanks Ernestas! Just a nitpick, is usually better to use more user friendly communication for commit messages, in this case, <ctrl>+z rather than ^Z. But it's fine this time.
Attachment 357180 [details] pushed as bf6b1e2 - rename-file-popover-controller: consume ctrl-z