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 161489 - Make left/right arrows change focus between bookmarks and file list
Make left/right arrows change focus between bookmarks and file list
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
2.10.x
Other All
: High enhancement
: Small feature
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks: 534462
 
 
Reported: 2004-12-16 22:09 UTC by Federico Mena Quintero
Modified: 2009-07-28 00:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (2.08 KB, patch)
2007-03-04 16:07 UTC, Christian Neumair
none Details | Review
gtk2-bgo161489-filechooser-left-right-focus-switch.diff (2.88 KB, patch)
2009-07-28 00:54 UTC, Federico Mena Quintero
committed Details | Review

Description Federico Mena Quintero 2004-12-16 22:09:21 UTC
If the bookmarks list or the file list have the focus, it would be nice to have
the left/right arrow keys switch among them.  Be careful to flip them around for
the RTL case.

JRB pointed out that this would break horizontal scrolling, but we should
probably switch the bookmarks list to using ellipsization and disable horizontal
scrolling altogether.
Comment 1 Christian Neumair 2007-03-04 16:07:21 UTC
Created attachment 83898 [details] [review]
Proposed patch

The attached patch sets the X scroll policy to GTK_POLICY_NEVER for both the file and the shortcut tree view. This shouldn't be a problem as you can resize the window and the panes using the keyboard.
Comment 2 Christian Neumair 2007-03-04 16:07:55 UTC
Updating version to 2.10.x.
Comment 3 Federico Mena Quintero 2009-07-28 00:54:48 UTC
Created attachment 139342 [details] [review]
gtk2-bgo161489-filechooser-left-right-focus-switch.diff

I've committed a slight modification of Manny's patch; it's pushed as d55ff39ad0e8cdfa2ce37c2551b2177026436c65.  Thanks, Manny!