After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591300 - When editing the file name, Shift-Delete should cut the selected text
When editing the file name, Shift-Delete should cut the selected text
Status: RESOLVED DUPLICATE of bug 619529
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-10 08:17 UTC by Alexander Kojevnikov
Modified: 2012-05-08 20:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Alexander Kojevnikov 2009-08-10 08:17:47 UTC
Steps to reproduce:

0. Select a file.
1. Press F2 to enter the edit mode. File name without extension should be selected.
2. Press Shift-Del to cut the selected text.

What happens:

Nautilus prompts to permanently delete the file.

What should happen:

The selection should be cut, Shift-Delete is a standard gnome shortcut: http://library.gnome.org/devel/gtk/unstable/GtkTextView.html#GtkTextView-cut-clipboard

Other info:

This issue is different from bug 584710. I personally don't mind that Shift-Del permanently deletes selected files, but when editing file names the behaviour should be consistent with all other text editors.
Comment 1 Martin von Wittich 2009-12-20 13:24:08 UTC
The current behaviour is actually rather dangerous: I just accidentally deleted a folder that I just wanted to rename. While renaming, I wanted to remove all text from the current cursor position up to the end, so I held down Shift and pressed first End and then Remove, immediately followed by Return to end the edit mode. Not releasing Shift before pressing Remove therefor caused Nautilus to prompt me for deletion, and I accidentally confirmed this when pressing Return.
Comment 2 Leonardo Ferreira Fontenelle 2012-01-15 15:48:34 UTC
See bug #667962 for a similar issue.
Comment 3 Cosimo Cecchi 2012-05-08 20:32:18 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 619529 ***