Disable Trash/Delete bindings when appropriate
Bug #490512 reported by
Michael Terry
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nautilus |
Fix Released
|
Low
|
|||
nautilus (Ubuntu) |
Fix Released
|
Low
|
Sebastien Bacher |
Bug Description
Binary package hint: nautilus
When the user cannot delete the selected files, the Trash/Delete menu items are disabled. But the corresponding key bindings are not. As a result, a user pressing Delete on a file will get a series of errors (trash attempt errors out, then delete attempt errors out). But we know in advance that these errors will occur and should disable the keybinding (like all other menu items do when they are disabled).
Note that <shift>Delete is already correctly handled for Edit->Delete. This bug is just about Delete, KP_Delete, and <shift>KP_Delete.
To reproduce, just try to trash a file in a directory where you don't have permissions to add/delete files.
Related branches
Changed in nautilus: | |
importance: | Unknown → Low |
status: | Unknown → Fix Released |
To post a comment you must log in.
The version in this debdiff is likely to change (I know karmic already has an ubuntu3 in -proposed -- aren't you supposed to use 1.2 for that sort of thing?). But the patch is sound and will likely apply to a future 2.29.x update. Patch is the same as the one I attached to upstream bug.