Ethereal-dev: Re: [Ethereal-dev] Different behaviour for display filter dialog, if called from

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 17 Jan 2004 19:36:57 -0800
On Sat, Jan 17, 2004 at 03:49:43PM +0100, Ulf Lamping wrote:
> I'm just wondering, if theres a reason why the Display Filter dialog is 
> acting differently, when called from menu or from statusbar button:

Yes:

>  From "Analyze->Display Filter" menu: Titled: "Ethereal: Edit Display 
> Filter List" with *no* OK and Apply buttons.

When called from the menu, there's no filter field with which it's
associated, so there's no filter field to which to apply it.

>  From statusbar "Filter:" button: Titled: "Ethereal: Display Filter" 
> with OK and Apply buttons.

When called from the "Filter:" button, it's associated with the filter
field next to that button, so "Apply" sets that field to the specified
filter and refilters, and "OK" does the same and closes the window.

If there's a menu item to call up that dialog box, and it associates the
dialog with the filter field at the bottom of the window, it should
probably be called just "Analyze->Filter" or "Analyze->Filter Display"
or even "View->Filter" or "View->Filter Display", as it lets you filter
the display, rather than only being able to edit your list of filters.