Ethereal-dev: Re: [Ethereal-dev] Stopping the load of a capture file [PATCH]

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Fri, 11 Nov 2005 19:35:55 +0100
Guy Harris wrote:

Given that it's really not cancelling the load - it doesn't undo all the stuff done as part of the load - should the button say "Stop" rather than "Cancel"?

I've thought about that too but was simply just too lazy. This dialog should really use a stop button, but we currently don't have a way to show it this way with the progressbar code. However, it shouldn't be too difficult to implement.

Also, do other places that read files, e.g. the file merge code, check for the stop button and stop the operation?

Loading the file was simply the first thing that came into mind.

Given the usage scenario provided, looking into the first packets to see if it's the right capture or have a sneak preview, we might not need it for other operations. However, it might be nice to have the same behaviour for different load operations.

So don't really know if it's needed or not.

Regards, ULFL