Ethereal-users: Re: [Ethereal-users] Windows UI problem (submenus)?

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, 3 Jul 2002 11:29:59 -0700
On Wed, Jul 03, 2002 at 01:48:57PM -0400, Seth wrote:
> Running 0.9.5 standard install (GTK+ 1.3.0, GLib 1.3.2, no libz).
> Submenus (such as Tools->TCP Stream Analysis) fail to expand.  When
> I lock on the selection, the main window loses focus and the menu
> appears to gain the focus as a separate entity.
> 
> 1) is this a known problem with the Windows build?

The first of the problems (the "fail to expand" part) is not known to me
- in fact, I just started a standard install of 0.9.5 up on my W2K
desktop here, and did a capture, and I had no problem with the
"Tools->TCP Stream Analysis" submenu when the frame that was selected
was a TCP frame.

(If the currently selected frame is not a TCP frame, the submenu doesn't
expand; that version of GTK+, at least, as well as GTK+ 1.2[.x], have
what I consider to be a bogus way of indicating that a menu item with
submenus is inactive - they *don't* gray it out, they just don't expand
it.)

The second problem (which I presume is the inability to cancel a submenu
conveniently with the mouse) does show up, however - and it shows up on
UNIX+X, too.

You can, however, cancel the menu with the Esc key.

> 2) any fixes/workarounds?  I'd really like to be able to get to
> the streams analysis menu.  I've verified that ALL expandable
> submenus fail in the same way.

The other expandable submenus are "Display->Match" and
"Display->Prepare"; unless there is a field in the protocol tree pane
(the middle pane) selected, and that field can be used in a filter
expression, those submenus don't expand.

That's probably the cause of the "fail to expand" problem.

As for why you can't just cancel the menu by, for example, clicking on
the menu bar item again, that may just be a GTK+ bug or misfeature.