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 590688 - wrong focus after clicking in sidebar
wrong focus after clicking in sidebar
Status: RESOLVED DUPLICATE of bug 534462
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2009-08-03 22:33 UTC by William Jon McCann
Modified: 2009-08-06 21:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2009-08-03 22:33:09 UTC
I want to send a file that is on my Desktop to my friend.  I click attach in an email program and a file selector comes up.  The file selector defaults to my Documents folder so I click on Desktop in the left side bar.  I know my filename starts with "S" so I type "S" on the keyboard.  I expected it to look for files that start with "S" but instead it tries to search for things starting with "S" in the sidebar.
Comment 1 Matthias Clasen 2009-08-06 16:40:55 UTC
My take on this is that we should turn off typeahead search in the sidebar and try to get any typing to start typeahead search on the list, unless the location entry is focused
Comment 2 Federico Mena Quintero 2009-08-06 21:10:28 UTC

*** This bug has been marked as a duplicate of 534462 ***
Comment 3 Federico Mena Quintero 2009-08-06 21:14:29 UTC
See commit b50548e35015910f62e36b96e74a54382b97cdb2 and the one before it.  In shortcuts_key_press_event_after_cb(), you may want to focus the file list and forward the key press to it if none of the GtkEntries are available.

(If you test that and it feels fine, feel free to commit it.)