topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday December 16, 2024, 4:13 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Can a search in progress be aborted ?  (Read 4861 times)

sosimple

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 25
    • View Profile
    • Donate to Member
Can a search in progress be aborted ?
« on: August 09, 2008, 08:24 PM »
Perhaps this is an issue for individual plug-ins.

When I type a command in FARR, using a plug-in,
that generates a large list, FARR goes 'non-responsive'
until the list is completed.

Recently I was using FARR and mru, and I 'accidentally'
typed: mrua instead of mrul

This (mrua) took a few minutes (seemed longer) to
complete but there was no way (that I found) to
interrupt it, or edit the command.

Kevin

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Can a search in progress be aborted ?
« Reply #1 on: August 10, 2008, 02:34 AM »
Perhaps this is an issue for individual plug-ins.

When I type a command in FARR, using a plug-in,
that generates a large list, FARR goes 'non-responsive'
until the list is completed.

Recently I was using FARR and mru, and I 'accidentally'
typed: mrua instead of mrul

This (mrua) took a few minutes (seemed longer) to
complete but there was no way (that I found) to
interrupt it, or edit the command.

Kevin

Hi Kevin

Your are right, this is plugin related. FARR MRU currently collects the results synchronously, although FARR would offer plugins the possibility to do that asynchronously. I didn't do that yet because doing it synchronously is just more straight forward (for implementing, I mean).

I understand your problem though, as I've had it myself. I'm storing all my files on a NAS, which makes everything file related kind of slow. I've tried to cover this problem with FARR MRU's settings, specifically the settings that allow disabling certain file checks for network files. Making the search asynchronous would not speed up anything it would just give the possibility to make the search abortable, which I agree would be very desirable. So I guess I'll think about changing that.

Happy to hear that you're using FARR MRU though :) (or at least try using it).

Philipp

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,198
    • View Profile
    • Donate to Member
Re: Can a search in progress be aborted ?
« Reply #2 on: August 10, 2008, 08:52 AM »
An additional comment:

Asynchronous search not only allows aborting, but also changing a search. I.e. if you type characters into FARR's search input field to filter for a search result (a filename for example), a plugin might restart its search based on the new search criteria. FARR MRU currently handles this by caching the results once you type mrua for example. Then, when you add search criteria, the search results are displayed using that cache.