Wireshark-bugs: [Wireshark-bugs] [Bug 1791] New: cannot open file with File -> Open
Date: Fri, 24 Aug 2007 10:09:09 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1791

           Summary: cannot open file with File -> Open
           Product: Wireshark
           Version: 0.99.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: fpeters@xxxxxxxxxx


Build Information:
(official Debian package)

Version 0.99.6

Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.10.13, with GLib 2.14.0, with libpcap 0.9.7, with libz
1.2.3.3, with libpcre 7.2, without Net-SNMP, with ADNS, without Lua, with
GnuTLS
1.6.3, with Gcrypt 1.2.4, with MIT Kerberos, with PortAudio <= V18, without
AirPcap.

Running on Linux 2.6.22, with libpcap version 0.9.7.

Built using gcc 4.1.3 20070812 (prerelease) (Debian 4.1.2-15).
--
Reported as http://bugs.debian.org/439198

I cannot open any capture file from inside wireshark using the File ->
Open ... dialog. The 'Open' button stays greyd out.

If I save a capture to a filename, then, I can open that filename using
File -> 'Open recent'. So the problem is not with opening files, but more
with the Open dialog.

--

I don't experience such a problem; the Open button turns sensitive
when a capture file is selected.  But I see there is a problem when
the file name is entered in the Location text entry, the Open button
doesn't get sensitive that way.

--

As a quick patch I removed the following line (342) from
gtk/capture_file_dlg.c:
gtk_dialog_set_response_sensitive(file_sel, GTK_RESPONSE_ACCEPT, have_preview);

The problem is the selection-changed signal seems not to be fired when the
location bar is used.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.