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 328820 - they keypad '/' key should open the "open location" dialog
they keypad '/' key should open the "open location" dialog
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: Federico Mena Quintero
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2006-01-27 11:10 UTC by Sebastien Bacher
Modified: 2006-01-27 17:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtk-328820-filechooser-kp-divide.diff (2.68 KB, patch)
2006-01-27 17:26 UTC, Federico Mena Quintero
none Details | Review

Description Sebastien Bacher 2006-01-27 11:10:16 UTC
This bug has been opened on https://launchpad.net/distros/ubuntu/+source/gtk+2.0/+bug/29807

"In the file chooser, when opening a file, you may press CTRL-L and type in a path in a dialog box.
This dialog also opens when pressing the keybord's "/" key.
When a complete path, including an optional filename is entered, the open dialog switches to the entered path, and, if a filename was specified and exists in the target directory, it is highlighted.

However, when using the numeric keypad's "/", a small window opens. Usually, this window lets you enter a file name to look for in the currently opened directory. A path can also be entered in this window, but the end result is different. In such a case, the file open dialog stays in the current directory, which is misleading for the end user.

Can the behaviour of this small window be changed to act identically as the one used by CTRL-L ? Or, can the numeric keypad's "/" key be treated as an alternate to CTRL-L or the keyboard's "/"

Note: I experience this annoyance of a Swiss French keyboard."
Comment 1 Federico Mena Quintero 2006-01-27 17:26:51 UTC
Created attachment 58225 [details] [review]
gtk-328820-filechooser-kp-divide.diff
Comment 2 Federico Mena Quintero 2006-01-27 17:27:37 UTC
Good catch; thanks.  Fixed in HEAD and gtk-2-8.

2006-01-27  Federico Mena Quintero  <federico@ximian.com>

	Fixes bug #328820:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_class_init): Make GDK_KP_Divide pop up
	the location dialog populated to "/".
	(tree_view_keybinding_cb): Likewise.
	(trap_activate_cb): Likewise.