Ethereal-dev: Re: [ethereal-dev] Filters dialog box apply button seems not to do anything

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 30 Jul 2000 23:26:02 -0700
On Sat, Jul 29, 2000 at 01:37:19PM +0900, Richard Sharpe wrote:
> At 01:05 PM 7/29/00 +0900, Richard Sharpe wrote:
> >OK, enough on this.
> >
> >A three line change or thereabouts has fixed this problem ...
> >
> >However, the question is: Is it the correct behaviour?
> >
> >It works from Edit->Filters... but I am not sure of File->Open->Filter ...

The filter dialog box can be popped up either

	1) if you just want to edit the list of filters;

	2) if you're browsing through the list of filters by clicking on
	   a "Filters:" button next to some text entry box.

In the former case, there's no text entry box connected to the menu
item; I guess one could view "Apply" as a way of testing a filter you're
constructing to add to the list, although, as we also let you edit the
filter list in the dialog box popped up from a "Filters:" button, you
could do it that way as well.

"Edit->Filters" is the former case.

"File->Open->Filter" is the latter case - and, in that case, the filter
isn't one to be applied to the current capture, so "Apply" should be
greyed out, as there's nothing useful for it to do; the filter is only
applied to the packets being read in, and that doesn't happen until you
hit "OK" in the file selection box.