Author Topic: Scrolled position after search term entry  (Read 634 times)

kiwi

  • Jr. Member
  • **
  • Posts: 9
Scrolled position after search term entry
« on: August 06, 2011, 03:30:11 AM »
Hi JD,

I imagine this should be quite simple to fix (but what do I know?)

1. an FTP window with enough items to have a scroll bar
2. scroll to show the last item (i.e. one or more items are scrolled off the top)
3. enter text into the search-box such that only one item matches

It always catches me when it looks like nothing matched and then I notice the scrollbar…

Maybe you need to reset the window scroll position during(after?) search

Cheers, Kiwi

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Scrolled position after search term entry
« Reply #1 on: August 06, 2011, 04:18:27 AM »
Should be a simple fix. Next update :)

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Scrolled position after search term entry
« Reply #2 on: August 06, 2011, 04:30:17 AM »
I take that back - it seems to be working fine for me. Maybe there's a particular length of directory listing and specific search term and matching file that triggers what you're seeing?

Email me a screenshot before and after the search so I can see what's happening for you.

spacific

  • Sr. Member
  • ****
  • Posts: 250
Re: Scrolled position after search term entry
« Reply #3 on: August 06, 2011, 05:18:40 AM »
Wow, that's interesting: I didn't know there was a search!  Of course I have toolbars hidden so never noticed the search box.  But this brings up a few things. Choosing Search from the Listing menu (with toolbars hidden) does nothing -- I would expect a dialog box to appear.
Also when I show toolbars and type in the search box it acts like a filter, and then only at the top level of directories. That is very unexpected and not useful: try to locate a file in a subdirectory (actually showing in the list) and the window goes blank!

Maybe I'm missing something!  In fact since you can just type a filename and it gets highlighted I don't have the need for a search -- just as well!

Cheers.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Scrolled position after search term entry
« Reply #4 on: August 06, 2011, 05:43:32 AM »
Its more of a live filter than a search, which is why a dialog coming up when the toolbar is hidden would be even less useful. So you could enter 'fred' and only entries that contain the word 'fred' would be displayed.

I guess I could un-hide the toolbar and set it so that the search input shows up, but that would be messing with the user's toolbar settings and that should be avoided.

A true sub-folder search capability is on my To Do list.

kiwi

  • Jr. Member
  • **
  • Posts: 9
Re: Scrolled position after search term entry
« Reply #5 on: August 08, 2011, 02:09:41 AM »
OK - not as straightforward as I thought…

Played around a bit and it seems that it works properly if no item(s) are selected before you enter your search (filter) text.

Screenshots in the mail, but basically looks like having any item selected triggers the naughty bits.

Cheers, Kiwi


kiwi

  • Jr. Member
  • **
  • Posts: 9
Re: Scrolled position after search term entry
« Reply #6 on: August 08, 2011, 02:11:53 AM »
P.S. sub-folder search sounds like a world of pain - good luck and please don't forget the "Cancel" button

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Scrolled position after search term entry
« Reply #7 on: August 08, 2011, 05:34:35 AM »
OK - not as straightforward as I thought…

Played around a bit and it seems that it works properly if no item(s) are selected before you enter your search (filter) text.

Screenshots in the mail, but basically looks like having any item selected triggers the naughty bits.

Cheers, Kiwi



Thanks for the screenshots! I'll take a look and hopefully get this one nailed.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Scrolled position after search term entry
« Reply #8 on: August 08, 2011, 05:35:21 AM »
P.S. sub-folder search sounds like a world of pain - good luck and please don't forget the "Cancel" button

Not really. It would be very useful at times! I'd even use it myself.... ;D

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Scrolled position after search term entry
« Reply #9 on: August 08, 2011, 04:01:16 PM »
Fixed!  ;D