GNOME Bugzilla – Bug 651344
Accelerators are allowed to trigger when renaming files
Last modified: 2012-08-23 09:24:12 UTC
Hi there, I'm not sure exactly which components sit where, so it's hard to say whether this is a nautilus bug or a gtk+ bug. Basically, accelerators such as Delete can trigger when renaming a file in nautilus, whereas renaming a file should probably ignore accelerators whilst the name is being edited. To recreate the issue: 1. Change the dconf setting of org.gnome.desktop.interface for can-change-accels to True. 2. Select a file (so that the menu item is enabled), then move the mouse over Edit > Move To Wastebasket. 3. Press Delete twice (the first time to remove the accelerator, the second to set it to Delete). 4. Rename the file, move the cursor to the middle of the filename, and then press Delete to remove letters from the filename, then press Enter. Expected outcome: The filename would change and the file would remain present. Actual outcome: The file is moved to the wastebasket. nautilus-3.0.1.1 gtk+-3.0.9 I'd be happy to provide any further information I can, please just ask...
Hmmmm, seems from bug 362273, filed over five years ago, accelerators should and have always grabbed the focus from text entry widgets. It looks like this is a nautilus regression after all then (since previous versions of nautilus were able to handle having a Delete accelerator without moving files unexpectedly).
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 619529 ***