Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 609030

Summary: x11-libs/gtk+:3 - type-ahead patch for gtk3 (optional patch integration request)
Product: Gentoo Linux Reporter: aditya3098 <aditya3098>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: aditya3098
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The patch

Description aditya3098 2017-02-12 03:51:02 UTC
Created attachment 463394 [details, diff]
The patch

Newer versions of gtk+ have changed the behavior of the gtkfilechooserwidget, where typing the first few letters of a filename do not jump to the first file with that prefix, but rather performs a recursive directory search. This makes using the filechooser nearly impossible when dealing with large directory trees in systems with slow hard drives. It is also a general irritation during use for some users. 

There is a well-maintained patch on the arch linux AUR that restores previous functionality and it is trivial to apply this to gtk+ on gentoo via /etc/portage/patches. However it would be very useful if we could provide this patch optionally via a USE flag on the gtk+ ebuild.

Here is the link to the AUR version of the patch: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=gtk3-typeahead

I am also attaching my patch. It works with gtk+ upto v3.20.9 (I haven't tested higher)
Comment 1 aditya3098 2017-02-14 13:40:00 UTC

*** This bug has been marked as a duplicate of bug 585092 ***