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 578710 - filter as you type search bar
filter as you type search bar
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Media library
Git
Other Linux
: Normal enhancement
: 0.14
Assigned To: Jean-François Fortin Tam
Pitivi maintainers
Depends on:
Blocks: 594394
 
 
Reported: 2009-04-11 16:21 UTC by Jean-François Fortin Tam
Modified: 2011-03-22 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
demo screencast (770.39 KB, video/ogg)
2010-12-26 04:12 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2009-04-11 16:21:26 UTC
For the media library/effects/transitions, a simple "filter-as-you-type" search bar would be very nice. When the user types more than 2 characters, PiTiVi would "filter" the view to show only items that match that. This would allow quickly finding clips by their name.

Moreover, gtk 2.16 now has support for icons in gtk entry widgets, so we could have it look like the one on the upper-right corner of http://library.gnome.org/misc/release-notes/2.26/figures/rndevelopers.entry-icons.png.fr
Comment 1 Jean-François Fortin Tam 2009-06-17 19:30:56 UTC
In the manual, I described the behavior of such a feature. I need you to reply to this bug report to know 

1) whether this feature request is to be accepted or not "in theory" at least
2) if it can make it into the next release.
Comment 2 Brandon Lewis 2009-07-28 18:14:22 UTC
Won't make it into this release as we're in a feature freeze now.
Comment 3 Jean-François Fortin Tam 2010-12-26 04:11:57 UTC
Implemented in https://github.com/nekohayo/pitivi/commits/media-library-search
Comment 4 Jean-François Fortin Tam 2010-12-26 04:12:27 UTC
Created attachment 177058 [details]
demo screencast
Comment 5 Florent Thévenet 2011-03-07 18:37:37 UTC
It would be great to show the search bar only when the treeview becomes cluttered, so when there is more than, for example, 10 clips in the view.
Comment 6 Jean-François Fortin Tam 2011-03-07 19:06:15 UTC
Except that, realistically, you always have more than 10 clips in a project. And if you don't, then the media library is mostly empty and the 10 pixels eaten by the searchbar are not problematic.
Comment 7 Jean-François Fortin Tam 2011-03-22 16:45:50 UTC
commit f99e8fd0e70e331b069acaedb4180f3c54d8c769
Author: Jean-François Fortin Tam <nekohayo@gmail.com>
Date:   Sat Dec 25 17:33:44 2010 -0500

    Add a search widget to the media library

And related commits up to 47c04d7b09178576dbae44c911cbce8fddb610b5