Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38546: /trunk/gtk/ /trunk/gtk/: foll

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 15 Aug 2011 16:54:14 -0700
On Aug 15, 2011, at 1:38 PM, Guy Harris wrote:

> If you close the current capture, or quit Wireshark, the window should be destroyed.

Annoyingly, I couldn't find, at least in any of the official guidelines for any desktop environment I looked at (OS X, GNOME, KDE, Windows) any discussion of, for example, a "derived" window, where you have a main window with a document (or a data store of some sort, e.g. a mailbox), and, for example, ask the application for a statistical analysis of the document,w which pops up in a separate window.  Does that get destroyed if you close the window for the document from which it's derived?  Does it get minimized if you minimize the document window?  (And what happens, at least in OS X Lion, if you make the document window full-screen?  Lion's full-screen is a bit more full-screen than the Windows/KDE/GNOME/etc. full-screen, in that it's supposed to be sort of like iOS, where the document window is all you have.)

Neither Excel (at least on OS X) and Numbers pop up graphs as separate windows - that was the obvious example I came up with.  I tried getting document statistics with both Word and Pages; Word pops up a *modal* window with document statistics, and you can't close the document window or do anything else with it until you close the statistics window, and Pages pops up an "inspector"-style window, which isn't modal, but you have only one of them, and it displays the statistics for whichever document window you've just selected and goes blank if there are no document windows.

So I thought "hey, what does Network Monitor do?"  It doesn't seem to have any obvious built-in statistics, but it has "Experts", which appear to be like our statistics taps.  So, after downloading and installing one of the "Experts" (a bit of a clunky procedure), starting it (a bit of a clunky procedure - I had to save the capture to a file first), discovering that I needed to install a .NET widget for the "Expert" (a bit of a clunky procedure, as the dialog telling me that didn't pop up on top the first time I tried it), and installing the widget (a bit of, well, you know the drill), it popped up a statistcs window - which remains behind even after you close the window, and even after you quit Network Monitor (probably because it's running in a separate process.