Ethereal-dev: Re: [ethereal-dev] Problems with data pane moving around

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Tue, 12 Oct 1999 22:58:22 -0700
> I have noticed an annoying thing with the data pane (the bottom one).
> 
> If I move it around so the stuff I am interested in is in the pane, and
> then select a new packet, or a new field in the middle pane, the data pane
> jumps back to the top as it is re-displayed.  This is annoying.
> 
> Can it stay where it was?

That's probably fixable, assuming that "gtk_set_adjustments()" does what
I infer it does from the description at

	http://www.gtk.org/rdp/gtk/gtktext.html#GTK-TEXT-SET-ADJUSTMENTS

which is

	Allows you to set GtkAdjustment pointers which in turn allows
	you to keep track of the viewing position of the GtkText widget.

However:

	1) if you're selecting a new packet, different stuff is being
	   displayed in the data pane, so I'm not sure how "where you
	   were in the data pane" would map to "where you want to go in
	   the new data pane" - would it be "if you were at the N% mark
	   in the old data pane, go to the N% mark in the new data
	   pane"?

	2) if you're selecting a new field in the same packet, do you
	   want the data pane to stay where it was, or do you want it to
	   shift so as to show you the data for the newly-selected
	   field?