Ethereal-dev: Re: [Ethereal-dev] New menuitem "View->Show" ... or hide all main widgets
On Mon, Jan 19, 2004 at 01:53:14AM +0100, Ulf Lamping wrote:
> The state of the checkboxes will be saved at program quit in the recent
> file (and of course reloaded when starting again ;-).
Should we store the window geometry in the "recent" file, rather than in
the preferences file as we do now?
We should probably also save the column widths there as well.
> I will add the settings from the "View->Options" dialog in a similar
> way,
Well, currently there are in View->Options:
the format used for command-line-specified time stamps;
whether we do automatic scrolling in live captures;
which forms of name resolution are enabled.
The format for command-line-specified (which is probably not a good
name, as it can be specified on the command line with "-t" *OR* in the
GUI from View->Options) time stamps is arguably a View item, as updating
it changes the display. It's perhaps a little ugly that you can both
have "command-line-specified" time columns and explicitly specified time
columns; perhaps the ultimate fix is to
1) make column settings take effect immediately rather than
requiring a restart (which is a bit ugly, as you would have
to delete the column view widget and reconstruct it, unless
we enhance EthClist to support adding columns on the fly and
either make EthClist work on GTK+ 2.x or go for the TreeView
widget in GTK+ 2.x);
2) have a command-line flag for Ethereal and Tethereal to let
the columns to be displayed be set;
although that does mean tht it's a bit uglier to specify the time stamp
format.
The "Automatic scrolling in live capture" setting is also arguably a View
item.
The name resolution items, however, don't affect the display, at least
not currently - it'd be nice if they could, i.e. turning it on causes
columns and packet detail to show resolved names if possible.
> Any comments?
"Filter Toolbar" and "Status Bar" were a bit confusing, although this is
perhaps a consequence of the fact that, at the bottom of the screen, we
have one row with two widgets.
Of course, if Ethereal were an Aqua application, the filter stuff would
be at the top of the window, like other "Search" widgets (which are
really more like "Filter" widgets, at least in Safari, Mail, and
Preview), rather than on the status line, but....