GNOME Bugzilla – Bug 319537
delete a folder with DEL should close its window
Last modified: 2006-03-03 13:43:44 UTC
Version details: 2.12.1-0ubuntu1 Distribution/Version: Ubuntu Breezy moving a folder to the trash should close its window, in spatial mode. the main reason behind that is that if you move a folder to the trash, it is because you don't want to use it anymore. So there is no reason to keep its window open and keep the desktop space cluttered.
Note that Nautilus does close the folder if you drag the folder icon to the trash , except under certain circumstances, which I've filed as bug 322737
But if you select the folder and press "Del" it does not. Tested on 2.13.2
re-titling bug to reflect the real problem
2.13.4 still has it.
When moving folders to trash, at least my local Nautilus copy doesn't seem to close any window. CCing usability team to get some opinions.
actually I rechecked and that's were it is nuts. Drag -> desktop trash does nothing Delete does nothing Drag -> trash applet DOES close the window. IMHO the trash applet get it right, not the others. If you want to get rid of a folder, why keeping it open?
Interestingly, OS X keeps trashed folder windows open too. Inclined to agree with everyone here,though, I can't think of any particularly good reason to do so.
Destroying a focused window might not be the best choice, so we may want to filter out those. Maybe we could add a hint like "(in Trash)" to the titlebar for trashed folders in general.
well, in that case there are chance it is not focused because you delete the folder in the parent window. And given it is inside nautilus, I don't we why we can't close the windows as there are other features that close the window.
Created attachment 60495 [details] [review] Proposed patch Also submitted to nautilus-list for review: http://mail.gnome.org/archives/nautilus-list/2006-March/msg00010.html
Note that this patch will close both spatial and navigational windows vieweing the trashed file, for making the behavior consistent with the trash applet.
Commited.