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 142632 - Add shortcut to close all open Nautilus windows at once
Add shortcut to close all open Nautilus windows at once
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.6.x
Other Linux
: High enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-16 21:38 UTC by Eugenia Loli-Queru
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Allows closing all spatial windows at once via menu or shortcut (3.29 KB, patch)
2004-05-26 22:33 UTC, Jamie McCracken
none Details | Review
improved patch (3.36 KB, patch)
2004-05-27 00:56 UTC, Jamie McCracken
none Details | Review

Description Eugenia Loli-Queru 2004-05-16 21:38:43 UTC
With the spatial nautilus new users will be constantly ending up having a lot 
of windows open and then they will be trying to close them manually one by one 
(until they learn how to properly use it). It seems that a lot of them 
actually have this problem already. A shortcut to close all open nautilus 
windows  is now  needed more than ever.

I would suggest ALT+Q or CNTRL+Q (in addition to ALT+F4 and CNTRL+W that only 
close one window at the time), just to be in sync with OSX.
Comment 1 Matthew Gatto 2004-05-16 23:08:02 UTC
Thanks for the report. This is not a bug. A bug is when a piece of software does
something that it is not supposed to do. Confirming and setting Severity ->
Enhancement.
Comment 2 Reinout van Schouwen 2004-05-17 00:01:56 UTC
I was going to suggest to use the Show Desktop button, and then close all
windows at once from the grouped tasklist entry. But then I discovered a
grouping on the tasklist doesn't offer the option to 'Close all'.

The closest thing to 'close all windows' in nautilus-spatial is Shift+Ctrl+W ;
close all parent folders. But I'll admit this is not the same thing.

Alt+Q is not a good idea, Alt+letter accelerators should be reserved for
activating menus/menu items. Q might very well be used in some language or another.
Comment 3 Yindong Yu 2004-05-23 03:42:21 UTC
Would it be useful to also have an option to close all "child directories?" from
a parent window? Sometimes I would open directory FOO, run down a deep chain of
its subdirectories and then, not finding what I wanted, went back to the FOO
window and decide to start over. A "close all child directories" menu item would
be very handy in such case. It also looks symmetric with the "close all parent
directories" option.
Comment 4 Jamie McCracken 2004-05-26 22:33:05 UTC
Created attachment 28053 [details] [review]
Allows closing all spatial windows at once via menu or shortcut
Comment 5 Jamie McCracken 2004-05-27 00:56:43 UTC
Created attachment 28059 [details] [review]
improved patch

updated my previous patch. Please use this one instead of previous one.

- renamed function "nautilus_application_close_all_windows" to
"nautilus_application_close_all_spatial_windows" (this should make it more
readable as it only applies to spatial windows)

- Used safer method for closing spatial windows
Comment 6 Alexander Larsson 2004-05-27 08:56:54 UTC
Commited, except the keyboard shortcut. We need to figure out which one to use
(that doesn't conflict with standard shortcuts).
Comment 7 Martin Wehner 2004-06-02 20:57:24 UTC
So, Ctrl+Q was chosen as shortcut & it's in cvs -> Marking FIXED.
Thanks Jamie - very handy.