GNOME Bugzilla – Bug 664573
Delete key deletes file instead of removing character in location bar
Last modified: 2012-05-08 20:33:21 UTC
*Overview* When modifying the path in the location bar, pressing the delete key removes the currently selected file instead of deleting the character right of the location bar text cursor. *Steps to Reproduce* NOTE: Location bar is turned on by default in my setup. 1) Open a nautilus window. 2) Select a file in the list (single left click). 3) Click into the location bar such that the cursor is surrounded by text. 4) Push the delete key. *Actual Results* The file selected in step 2) is moved to the trash. *Expected Results* The character right of the text cursor should have been deleted, and no file should be deleted. *Build Date & Platform* Nautilus 3.2.1 (from the about box) Arch Linux package/version: extra/nautilus 3.2.1-1 *Additional Nautilus plugins installed* extra/nautilus-open-terminal 0.19-2 extra/nautilus-sendto 3.0.1-2 I'm happy to provide any additionally required data.
Adding severity critical for possible data loss.
This bug may be related to bug 662591 ..
Created attachment 203546 [details] [review] proposed patch If an editable widget is currently focused (e.g. a GtkEntry in the location bar or the search bar), then NautilusWindow should forward key press events to that widget without handling them since the window's keyboard shortcuts may collide with the editable widget's. This is particularly important for users of ubuntu, gentoo, and other distros that have patched nautilus-3 to use the Delete key for deleting files (the Ctrl+Del shortcut is undiscoverable and unintuitive for the average user).
Similar issues: bug #591300 and bug #667962.
I fixed this last week for 3.5.1 in bug 619529 with a very similar patch - missed this bug in the huge bugzilla spam, sorry. Closing as a duplicate of that one. *** This bug has been marked as a duplicate of bug 619529 ***