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 606403 - spacebar in nautilus should not open a file
spacebar in nautilus should not open a file
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-08 13:13 UTC by Omer Akram
Modified: 2012-08-14 21:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Removes the possibility to use space to open files and folders in all views (995 bytes, patch)
2010-03-29 19:50 UTC, Marcus Carlson
none Details | Review
90% working (2.18 KB, patch)
2010-03-31 17:55 UTC, Marcus Carlson
none Details | Review

Description Omer Akram 2010-01-08 13:13:36 UTC
originally reported at: https://bugs.launchpad.net/hundredpapercuts/+bug/431073

By mistake, I hold down the spacebar, the result was a file opening SEVERAL times.
Then i realized, it's really necesary the option to open a file by pressing enter or spacebar?
Comment 1 Omer Akram 2010-01-08 13:25:34 UTC
folder/files should not open with a space bar. only enter key should be assigned
Comment 2 Marcus Carlson 2010-03-29 19:50:24 UTC
Created attachment 157410 [details] [review]
Removes the possibility to use space to open files and folders in all views
Comment 3 Marcus Carlson 2010-03-31 17:55:05 UTC
Created attachment 157621 [details] [review]
90% working

Well, this was tricker than I thought.
Patch is working as intended (as Alex told me on IRC) in icon view but not in list view. Spacebar will not activate/open a file/folder but instead work as "normal" key and activate the interactive search function. But, as I said, this is not working in list view because I cannot insert " " into the search box as gtk_tree_view_get_search_entry() returns NULL for non-custom search entries.

Really - is this the behavior we want? As how often does a file or folder start with a space? What else could we to do with space? Eg, in list view and folder we could expand. Maybe it should be disabled for everything else? 

Alex?
Comment 4 Allan Day 2010-06-22 09:59:11 UTC
I'd like to hear some more arguments why this behaviour should be changed. The bug report indicates that someone accidentally pressed space bar - that doesn't seem like a good enough reason to change the current mapping.

In GTK, space is used to 'Toggle selected state of focused check box, radio button, or toggle button' - Nautilus would seem consistent with this.

The major inconsistency is with web browsers, where space scrolls down. Many people learn shortcuts in that context and *could* expect similar behaviour in their web browser.

What do Finder and Windows Explorer do?

Whatever happens, I don't see a good argument for not using the space bar as a short cut for something. Other apps use it, I don't see why Nautilus shouldn't.
Comment 5 David 2010-06-27 09:41:46 UTC
Finder in OSX opens a quick look view of whichever file or directory is selected when the space bar is pressed.
Comment 6 Axel 2010-06-28 16:20:46 UTC
Windows explorer do nothing when the space bar is pressed, but conbined with shift or ctrl is used to select elements..
Comment 7 Timothy Arceri 2012-03-02 09:21:45 UTC
This bug should be set to resolved 3.2.1 the binding is now shift+space
Comment 8 William Jon McCann 2012-08-14 21:02:53 UTC
Yep. We do quick look now on space.