Wireshark-bugs: [Wireshark-bugs] [Bug 8865] New: If another profile is opened that also has the
Bug ID |
8865
|
Summary |
If another profile is opened that also has the default capture.columns pref set, only the "Interface" column is displayed.
|
Classification |
Unclassified
|
Product |
Wireshark
|
Version |
1.11.x (Experimental)
|
Hardware |
All
|
OS |
All
|
Status |
UNCONFIRMED
|
Severity |
Normal
|
Priority |
Medium
|
Component |
Wireshark
|
Assignee |
bugzilla-admin@wireshark.org
|
Reporter |
turney_cal@emc.com
|
Attachment #11096 Flags |
review_for_checkin?
|
Created attachment 11096 [details]
Patches for both issues
Build Information:
Version 1.11.0-50214-dev (SVN Rev Unknown from unknown)
Copyright 1998-2013 Gerald Combs <gerald@wireshark.org> 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 (32-bit) with GTK+ 2.24.14, with Cairo 1.10.2, with Pango 1.30.1, with
GLib 2.34.1, with WinPcap (4_1_3), with libz 1.2.5, without POSIX capabilities,
without libnl, with SMI 0.4.8, with c-ares 1.9.1, with Lua 5.1, without Python,
with GnuTLS 2.12.18, with Gcrypt 1.4.6, with MIT Kerberos, with GeoIP, with
PortAudio V19-devel (built Jun 28 2013), with AirPcap.
Running on 64-bit Windows 7 Service Pack 1, build 7601, with WinPcap version
4.1.3 (packet.dll version 4.1.0.2980), based on libpcap version 1.0 branch
1_0_rel0b (20091008), GnuTLS 2.12.18, Gcrypt 1.4.6, without AirPcap.
Intel(R) Xeon(R) CPU E5507 @ 2.27GHz, with 4093MB of physical
memory.
Built using Microsoft Visual C++ 10.0 build 40219
-------
--
If a profile with the default capture.columns (commented out) preference is
opened and "Capture > Options..." is selected, all 6 columns in the "Capture
Options" dialog are displayed:
Issue 1. If another profile is opened that also has the default capture.columns
pref set, only the "Interface" column is displayed.
Cause: When a another profile is selected, 'pref->default_val.list' and
'prefs.capture_options' are purged; however, neither list is repopulated with
the *default* values of the new list. Similarly If
capture.devices_<buffersize, snaplen, or promiscuous> are set to non-default
values in the current profile and a profile with different non-default settings
for those prefs is selected, the values of the first profile remain in effect.
Fix: In 'ui\gtk\capture_dlg.c" in the "create_and_fill_model()" function,
remove the "global_capture_opts.session_started == FALSE" conditions.
Issue 2. If the profile is then saved, an uncommented "capture.columns:" with
a value of "INTERFACE" is written to the preference file. If Wireshark is then
closed and restarted, only the 'Interface' column is displayed in "Capture >
Options..." . If Preferences>Capture>Edit is selected, all the column options
are available in the "Capture Options Columns" dialog except for "Interface".
If the user checkmarks the 5 column options and Preferences is saved, an
uncommented "capture.columns" variable is written to the preference file with
the five 'capture.options' values; "INTERFACE" is missing. If Wireshark is
restarted, the five columns are displayed and, other than hacking the
preferences file, the user has no way to select the "Interface" column.
Fix: In ui/gtk/prefs_capture.c: add the "Interface" option to the "Capture
Options Columns" dialog.
You are receiving this mail because:
- You are watching all bug changes.