! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
delete key is hard-coded to delete files, despite gtk menu accelerator/shortc...
Status:
RESOLVED: FIXED

Comments

Description Forest 2008-06-25 20:20:35 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008061015 Firefox/3.0
Build Identifier: 

I changed Thunar's keyboard shortcut for delete to control+delete, using the standard gtk hover-and-press method.  Control+delete now works, but the delete key alone *also* deletes files just as it always did.  That's no good for me.  The reason I changed it in the first place was to keep from deleting things when I accidentally brush the delete key or when something falls on my keyboard.  Also, it's pretty confusing to have an application implement user-defined key mappings but also leave a hidden, hard-coded set of mappings active.

http://thunar.xfce.org/pwiki/documentation/faq#how_do_i_assign_different_keyboard_shortcuts



Reproducible: Always

Steps to Reproduce:
1. Enable gtk menu accelerator remapping.
2. Remap the Edit->Delete command to Control+Delete.
3. Select a file.
4. Press the Delete key (by itself, without the Control key).

Actual Results:  
The file is deleted.

Expected Results:  
The keypress should have been ignored, and the file should have remained where it was.
Comment 1 Forest 2008-06-25 20:21:53 CEST
P.S.
This is on xubuntu hardy, thunar 0.9.0.
Comment 2 Nick Schermer editbugs 2008-11-28 19:56:05 CET
Fixed in revision 28941.
Comment 3 Nick Schermer editbugs 2008-11-28 22:02:46 CET
Commit was not a good way to fix it.
Comment 4 Nick Schermer editbugs 2008-11-29 14:59:32 CET
Better fix committed in revision 28947.
Comment 5 Nick Schermer editbugs 2012-09-22 20:37:25 CEST
Improved this in 9b7506c.

Bug #4173

Reported by:
Forest
Reported on: 2008-06-25
Last modified on: 2012-09-22

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information