Ethereal-dev: Re: [ethereal-dev] Filter dialog box

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: Thu, 24 Feb 2000 23:16:32 -0800
> When you select the Edit->Filter option or click the 'Filter:', a new
> instance of the filter dialog box pops up.  I would expect the current
> filter dialog box to raise to the top, not create a new instance of the
> filter dialog if one already exists.

Note that note all filter dialog boxes are necessarily the same - a
"Filter:" button creates a dialog box that, if a filter has been
selected in it and the "OK" button is clicked, puts the filter in the
text entry field next to the "Filter:" button.

As such, if you select "Edit->Filter" and, before dismissing the dialog
box, click the "Filter:" button at the bottom of the main window, it's
not entirely clear whether a second dialog box should pop up or not -
the "Edit->Filter" won't fill in any text entry field, but the "Filter:"
button will.

If you happen to have a "Capture:Start" dialog box open, and click on
its "Filter:" button, and then click on the "Filter:" button at the
bottom of the screen, it's the same, only more so - "Edit->Filter" isn't
connected with a text field, so *maybe* you could say its dialog box
doesn't need to be separate from a "Filter:" button's dialog box, but
the "Capture:Start" "Filter:" button and main-window "Filter:" button
both pop up dialog boxes tied to the text entry adjacent to the button.

Were the filter dialog boxes to be given window titles reflecting the
reason they were popped up, e.g.:

	Capture Filter

	Display Filter

	Find Filter (for the "Edit:Find Frame" dialog box)

	Edit Filters

and only one dialog box *of a particular kind* is kept around, that
might be the right answer.