[haiku-commits] Re: r41493 - in haiku/trunk/src/apps: . musiccollection

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 15 May 2011 13:44:19 +0200

Hi Clemens

> >> > That's more or less exactly why I introduced typeahead filtering 
> > > > in
> >> > Tracker. It works on folders, but also on queries. You can just
> >> > store a
> >> > query searching for all music, enabling the attribures you 
> > > > desire,
> >> > and
> >> > then just use typeahead filtering to filter that result.
> 
> is typeahead filtering the normal search when you type in the 
> tracker  
> window? or is it a even more hidden feature that I don't even know?

It's filtering the list (taking into account all visible attributes) 
for the string you type in (clearing the filter on escape or folder 
navigation). It can be enabled in Window -> Preferences -> Windows -> 
Enable type-ahead filtering. It works only in list mode (IMHO the only 
mode it really makes sense having it) and will just fall back to type-
ahead selection in icon mode.

> MusicCollection sorts the files by artist and album which makes it 
> more  
> specific for music queries. IMHO, it would be nice if tracker 
> supports  
> special views like a music query view...

My setup here: I have a /Media/Music folder that contains all the music 
(but that could just as well be a query for all music on all volumes, 
as filtering works just as well in query result windows). I have the 
window populated with the artist, title, album and track number 
attributes, primary sorted for album, secondary sorted for track number. 
Then I just start typing some album, artist or title and type-ahead 
filtering filters the list. Command-A and enter for multiple entries or 
just enter for a single entry plays it in MediaPlayer. For me, this is 
the perfect setup.

Additionally I find it practical when navigating the Haiku sources as 
well, where I either use it similar to type-ahead selection for folder 
navigation, or for filtering the list of source files. For me it is 
superior to type-ahead selection, because you always see what files 
still match and can easily navigate through them. With type-ahead 
selection it is not obvious what other files still match and I found 
myself often having to think about the exact name I wanted to find and 
start over, while with type-ahead filtering I would just see it as the 
second or third entry in the list and navigate to it using the normal 
cursor key navigation.

I find this solution more elegant than seperate applications since it 
also automatically works for my e-Mails where I can quickly filter for 
a "From" or "Subject" attribute I have displayed, it works for my movie 
collection, source navigation, etc.

Regards
Michael

Other related posts: