Wireshark-dev: Re: [Wireshark-dev] [Wireshark-bugs] [Bug 9817] Provide a way to clear the captu
From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Fri, 28 Feb 2014 14:52:54 -0500
On 2/28/2014 2:46 PM, bugzilla-daemon@xxxxxxxxxxxxx wrote:
*Comment # 3
<https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9817#c3> on bug
9817 <https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9817> from Guy
Harris <mailto:guy@xxxxxxxxxxxx> *

(In reply tocomment #2  <show_bug.cgi?id=9817#c2>)
It means to clear the display.

The display shows the (possibly improper) subset of captured packets that pass
the currently-active filter (if any; if none, all packets "pass", hence
"possibly improper").

Thus, there are two ways to "clear the display", in the sense of having no
packets shown:

     1) have a filter that matches no packets;

     2) permanently discard all the captured packets.

If that means discarding all captured packets, then yes, that sounds about
right.

That's choice number 2.

Is that the same as restarting the running live capture?

If you are currently running a live capture, and want to clear the display but
continue to capture, the only conceivable way to do that would be to restart
the capture - because doing that amounts to restarting the capture, so it's not
as if it's logically possible to implement that *except* by restarting the
capture.

If you are currently running a live capture, and want to *stop* capturing and
clear the display, that would be done by stopping the capture and then closing
it.

If you're finished capturing, and want to clear the display, that would be done
by closing the capture.



How about a third choice: just clear the summary pane (or scroll down so that the previous last line shown is at now the top (or similar) ?