Ethereal-dev: Re: [Ethereal-dev] Changes in the filter GUI

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 26 Jan 2004 14:16:21 -0800

On Jan 26, 2004, at 1:55 PM, Olivier Biot wrote:

I noticed a UI "bug" in the filter progress dialog where the labels
and the values are off when the display filter exceeds one line of
text. See attached picture.

Is that "exceeds one line of text because it word-wraps" or "exceeds one line of text because it contains newlines"? The window title bar appears to have some odd character after "tcp " and before "and".

If it's because it contains newlines, perhaps we should replace newlines with spaces before handing the filter to the filter code. Newlines in filter strings cause other problems than misdisplaying and "this is an undisplayable character" glyphs, for example, having entered

	tcp and
	tcp

as a filter, I now have an entry in the "recent" file with just

	recent.display_filter: tcp and

which appeared to be causing

** WARNING **: /Network/Servers/noether/homes/frodo/gharris/.ethereal/recent line 28: Incomplete preference

errors, and you can't put newlines into filters in the "cfilter" or "dfilter" files, either.