Ethereal-dev: Re: [ethereal-dev] Bug in Add Color to Protocols

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Wed, 26 Jul 2000 16:19:19 -0700 (PDT)
> At 02:25 AM 7/27/00 +0900, Richard Sharpe wrote:
> I think that we should enforce that there is only one edit_color_filter
> dialog box up at one time. Makes the interface more intuitive.

I think my rationale for not changing the code to do that was that
somebody might, when creating a new filter, want to cut-and-paste the
text from another filter and edit it, so that they might want to have
"Edit color filter" windows open for the new color and for some other
color.

What should the UI do if you click "New" or "Edit" when there's already
an "Edit Color" dialog box up?  Or should it make those dialog boxes
modal (so that you can't do anything with the UI until you either select
a color or dismiss the dialog box; I'd prefer not to do that)?

Re-activating the existing window would be the right thing to do *only*
if the button you clicked would cause a window to pop up for the *same*
color that the existing window is editing.