Re: Better "select by name" behavior

Dennis Nezic <[email protected]> Thu, 7 Feb 2013 12:30:37 -0500
Newsgroups gmane.comp.desktop.rox.user
Message-ID <[email protected]>
On Wed, 6 Feb 2013 10:26:03 +0000, Thomas Leonard wrote:
> On 31 January 2013 18:31, Dennis Nezic <[email protected]>
> wrote:
> > So, currently (rox-2.10), when you MINI_SELECT_BY_NAME (. command),
> > it defaults to the "*." glob -- i.e. it assumes we want to select
> > by a certain file extension. I found that I usually wasn't
> > searching by file extension, but rather by keywords within
> > filenames, and often found myself having to backspace. So, I think
> > it would be better to not have that initial default glob.
> >
> > Also, when matches were found, although they were selected, the
> > window wouldn't scroll to them (if they weren't visible -- ie. in a
> > folder with many files.) I think the window should jump to the
> > first match, much like the current MINI_PATH does. This little
> > patch here does something like that, although I'm not sure if it's
> > the best way :P -- it will move the window and the
> > non-highlighted-selected entry down one each time a new glob is
> > matched.
> 
> Well, I applied the bit about showing the selected match (except that
> I changed it so that it doesn't keep moving forward if the current
> item matches).
> 
> Don't think the first change is worth it. Even if you want "*foo",
> it's still easier to hit backspace than to type "*".

I still think it's worth it. Personally, I find myself more often
searching for filenames that start with something, then for specific
file extensions. From the user's perspective, it's a lot more sensible
too. Why assume anything about the users's intentions?


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb