! 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 !
Space should only select a file not run it
Status:
RESOLVED: MOVED

Comments

Description Andrew Smith 2007-09-06 22:26:02 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5
Build Identifier: 

It is very unusual and a bit confusing, but mostly just annoying that after pressing the spacebar to give an item focus the item is selected (which is what I want) but also executed (which I expect to have to press Enter to do).

This happens in all three types of views.

Reproducible: Always

Steps to Reproduce:
1. Single-click on a file once.
2. Click on some area of the file manager that's not associated with a file (white space).
3. Press space.

Actual Results:  
File gets selected + it's executed (for lack of a better word).


Expected Results:  
File gets selected and is not executed.
Comment 1 Jeff Shipley 2013-07-30 00:22:36 CEST
Space to activate is something that is provided in the Gtk widgets. Ctrl+space will do what you're looking for.

I agree that space executing a program is strange, as space is often used to select without activating things. I'll poke around to see if I can find a way to change this default binding.
Comment 2 Helder 2015-01-07 23:43:02 CET
Still reproducible on Thunar 1.6.3.
Comment 3 arbe 2016-07-01 00:02:47 CEST
Created attachment 6720 
Disable the GTK+ default behavior

GTK+ by default triggers the same event for RETURN and SPACE. This patch simply circumvents the space keypress in all icon views.
Comment 4 Mikhail Kasimov 2016-09-14 11:21:03 CEST
*** Bug 12763 has been marked as a duplicate of this bug. ***
Comment 5 Ulrik 2017-02-24 17:14:24 CET
In web browsers space is page down and shift-space is page up (also in evince). Can we consider this behaviour?
Comment 6 Theo Linkspfeifer editbugs 2019-06-26 19:05:40 CEST
https://git.xfce.org/xfce/exo/tree/exo/exo-icon-view.c#n1307

Alternatively, it could be disabled or changed to something different in exo-icon-view.
Comment 7 alexxcons editbugs 2019-06-26 21:51:47 CEST
Actually I dont like hard-coding stuff. There might be people which are used to "space" to activate things.

IMO best would be a way to freely configure all thunar keybindings. (Ideally in a GUI which can be reused by other xfce applications)
Comment 8 Git Bot editbugs 2020-05-26 23:06:50 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/9.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #3536

Reported by:
Andrew Smith
Reported on: 2007-09-06
Last modified on: 2020-05-26
Duplicates (1):
  • 12763 Incorrect behavior of [Space] keyboard key in Thunar file-list

People

Assignee:
Jannis Pohlmann
CC List:
8 users

Version

Attachments

Additional information