Ethereal-dev: Re: [Ethereal-dev] Deactivate "Apply" button if the display filter is not valid?

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

From: Alastair Maw <ethereal@xxxxxxxxx>
Date: Wed, 11 Feb 2004 12:43:31 +0000
On 10/02/04 23:47, Guy Harris wrote:

If you deactivate the "Apply" button (which presumably also means that if you press the "Enter" key, it won't apply the filter), you can't try to compile an invalid filter in order to get an error dialog indicating *why* it's not valid.

Additionally, when newbies try to use the thing, they'll construct invalid strings. They will then e-mail the -users list asking why the button is greyed out and they can't use filters, particularly if they're red/green colourblind. :)

I'd keep the apply button for invalid filters, along with the dialog popup.

Alastair