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 507665 - GTK+ type-ahead search
GTK+ type-ahead search
Status: RESOLVED DUPLICATE of bug 399655
Product: banshee
Classification: Other
Component: User Interface
git master
Other Linux
: Normal enhancement
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 519843 525076 525838 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-06 14:24 UTC by Michael Monreal
Modified: 2008-04-06 22:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Monreal 2008-01-06 14:24:09 UTC
In nautilus, you can just type the beginning of a directory or file when the list has focus, and the selection will jump to the first matching entry.

This feature is also available in most other list views in GTK apps, but it is notably absent in Banshee. I did not miss the feature until now... but the introduction of the artist/album browser really changes things.

It would be awesome to just press a few letters to get to the artist/album I am looking for.

This idea currently collides with the default key shortcuts, because banshee takes single key presses as shortcuts even with a listview having focus. I think this is quite uncommon, and not worth breaking a useful GTK feature (the tree type-ahead search) for.
Comment 1 Andrew Conkling 2008-01-10 21:00:04 UTC
Well, trunk is using a custom widget, so this will definitely break that feature. Isn't this what the search box is for though? Not exactly the same thing, but it works.
Comment 2 Michael Monreal 2008-01-10 21:08:22 UTC
The search box is very powerful, sure. But one could also argue that the search box makes the browser obsolete, because "it works". I often use this combined mouse/keyboard navigation in nautilus for example. In small folders, I can faster click than I could type (in terminal), but if the directory is large or I don't really know what exactly I'm looking for, the type-ahead is very useful. Same for banshee's browser, custom widget or not, 
Comment 3 Michael Martin-Smucker 2008-03-02 03:21:32 UTC
*** Bug 519843 has been marked as a duplicate of this bug. ***
Comment 4 Michael Martin-Smucker 2008-03-02 03:39:53 UTC
Sorry, I just posted a duplicate of this "bug" because apparently I can't use a search engine...

But I'll agree that this feature would be much-appreciated.  It's true that the search bar "works," but in most cases I don't want to filter out all of the non-relevant results; I just want to jump to a certain part of the list.  

For example, if I search for the artist "Mew" in the search bar, I am given an enormous list of results including "Mew," "mewithoutYou," and every song containing "somewhere" in the title.  This doesn't do me much good, plus if I change my mind and want to listen to Radiohead instead, I have to exit this search and start a new one.  With type-ahead I can just type "mew" and I'm there, or "radi" and it jumps again.  It's much faster.
Comment 5 Andrew Conkling 2008-03-02 04:13:25 UTC
(In reply to comment #4)
> Sorry, I just posted a duplicate of this "bug" because apparently I can't use a
> search engine...

No worries; bugzilla can be a bit awkward with searches.

> For example, if I search for the artist "Mew" in the search bar, I am given an
> enormous list of results including "Mew," "mewithoutYou," and every song
> containing "somewhere" in the title.  This doesn't do me much good, plus if I
> change my mind and want to listen to Radiohead instead, I have to exit this
> search and start a new one.  With type-ahead I can just type "mew" and I'm
> there, or "radi" and it jumps again.  It's much faster.

Interesting use case. I'd argue that the search bar is a bit more generally functional, and of course you could limit the type to Artist/Track/etc. But maybe there's something that could be done here.

As I mentioned in comment #1, this is the problem with custom widgets. Anyone up for adding in a custom inline search function? ;)
Comment 6 Michael Monreal 2008-03-02 09:11:36 UTC
First(In reply to comment #5)
> Anyone up for adding in a custom inline search function? ;)
> 

First the developers will have to agree that this feature is useful. But I guess this bug will get many more dupes after the preview releases or at least 1.0 final is out and gets wider testing, as the type-ahead find in treeviews is something many even not so advanced users use in other apps. Actually this weekend my girlfriend tried to use this in banshee trunk and then asked if she broke something because it was not working as she expected ;)
Comment 7 Andrew Conkling 2008-03-02 20:13:25 UTC
(In reply to comment #6)
> First the developers will have to agree that this feature is useful. But I
> guess this bug will get many more dupes after the preview releases or at least
> 1.0 final is out and gets wider testing, as the type-ahead find in treeviews is
> something many even not so advanced users use in other apps. Actually this
> weekend my girlfriend tried to use this in banshee trunk and then asked if she
> broke something because it was not working as she expected ;)

Right, I think a case could be made for the custom widget mirroring GTK+ functionality as closely as possible.
Comment 8 Gabriel Burt 2008-03-31 23:47:43 UTC
*** Bug 525076 has been marked as a duplicate of this bug. ***
Comment 9 Gabriel Burt 2008-04-02 20:32:33 UTC
*** Bug 525838 has been marked as a duplicate of this bug. ***
Comment 10 Gabriel Burt 2008-04-06 22:27:38 UTC
Should have caught this a long time ago; closing as duplicate of bug #399655.

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