Wireshark-users: Re: [Wireshark-users] Disabling "File Preview"

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Tue, 02 Feb 2010 19:45:10 +0100
Hi,

Abhijit Bare wrote:
For me, wireshark tries to show a preview, only when I click on a file in the displayed list. It does not try to read in all the files by just opening the "File Open" dialog. ....

That is both true, but it does try to stat all the files in the directory.

.... If I click on a large file, it times out in 3 seconds. The File Open dialog does pause, however, if there are a lot of files in the directory.

That timeout is the preview. That pause are the stats at work, see https://bugzilla.gnome.org/show_bug.cgi?id=310642

That may be a reason why preview==0 hasn't been given a specific meaning, yet.

Thanks,
Jaap


- Abhijit

On Tue, Feb 2, 2010 at 9:31 AM, Jaap Keuter <jaap.keuter@xxxxxxxxx <mailto:jaap.keuter@xxxxxxxxx>> wrote:

    Hi,

    Should '0' be interpreted as disable file preview? That would worth an
    enhancement bug.

    Thanks,
    Jaap

    On Mon, 01 Feb 2010 14:45:21 -0500, Jim <jak@xxxxxxxxxxxxxxxxxxx
    <mailto:jak@xxxxxxxxxxxxxxxxxxx>> wrote:
     > I need to disable 'file preview' feature completely.  I've tried
     > unsuccessfully to set time-out to 0.   I also searched some of the
    archive
     > and
     > most of the online documentation without finding any clues.
     >
     > The traces I am looking at are on an NFS mount over a relatively slow
    VPN
     > and
     > Wireshark can stall for a minute or more as it tries to read
    every file
    in
     > the
     > directory.
     >
     > Thanks in advance.
     >
     > Jim
     >