Ethereal-dev: Re: [Ethereal-dev] Bugs in 0.10.4 (#1 fixed)

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sun, 16 May 2004 20:50:09 +0200
Stuart MacDonald wrote:

Bug #1: Disappearing Capture Stats Dialog
Severity: High
Effect: Ethereal cannot be quit except via the Task Manager -> End
       Process method
Steps to Reproduce:
- <ctrl-k> to get the Capture Options dialog
- click the minimise button *on the main window*, not the dialog box
- notice the Ethereal main window minimises but the Capture Options
 dialog does not
- click Ok
- notice capture starts, but there is no Capture Stats dialog, which
 also means there's no Stop Capture button
Notes:
Nothing I can do will bring up the Capture Stats dialog, and thus
Ethereal is in an infinite loop. <alt-tab> still only shows one
Ethereal icon, the main window. Selecting it gives it the focus, but
it stays minimised. Right-clicking on it in the task bar and selecting
either Restore or Maximise will cause the main window to display, but
all the buttons/menus are inactive, and there is still no Capture
Stats dialog.
Only using the time-honoured <ctrl-alt-del> -> End Process method can
I get Ethereal to quit.
Seems to be GTK2 related, does not happen with GTK1.

This was a result when a dialog box was shown while the program is minimized (e.g. "No packets captured"), this seems to be a bug in the GTK lib.

As a first bugfix I've checked in a change into latest CVS to simply discard the message completely in that case.

When I will find a way to get an event from GTK when the window is made visible by the user again, I will queue up the message and show it at that point in time.

Regards, ULFL