Wireshark-bugs: [Wireshark-bugs] [Bug 1791] cannot open file with File -> Open

Date: Fri, 24 Aug 2007 14:13:52 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1791





------- Comment #1 from jeff.morriss@xxxxxxxxxxx  2007-08-24 14:13 GMT -------
(In reply to comment #0)
> 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.

What Location text entry?  The only text box I have is the "(Read) Filter" box;
I'm using GTK 2.4 but that doesn't appear to matter.

> 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.

Another thing to note is that the callback will only be called if Wireshark
recognizes the file.  If you try to select, say, an executable or library, it
will not allow you to "Open" it.


-- 
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.