Wireshark-bugs: [Wireshark-bugs] [Bug 11108] New: Expression Filters label not saved from GUI

Date: Tue, 07 Apr 2015 19:49:31 +0000
Bug ID 11108
Summary _expression_ Filters label not saved from GUI
Product Wireshark
Version unspecified
Hardware x86
OS Windows Server 2012
Status UNCONFIRMED
Severity Normal
Priority Low
Component GTK+ UI
Assignee [email protected]
Reporter [email protected]

Build Information:
Windows Server 2012:
Version 1.12.4 (v1.12.4-0-gb4861da from master-1.12)

Copyright 1998-2015 Gerald Combs <[email protected]> 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 (64-bit) with GTK+ 2.24.23, with Cairo 1.10.2, with Pango 1.34.0, with
GLib 2.38.0, with WinPcap (4_1_3), with libz 1.2.5, with SMI 0.4.8, with c-ares
1.9.1, with Lua 5.2, without Python, with GnuTLS 3.2.15, with Gcrypt 1.6.2,
without Kerberos, with GeoIP, with PortAudio V19-devel (built Mar  4 2015),
with
AirPcap.

Running on 64-bit Windows Server 2012, build 9200, 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 3.2.15, Gcrypt 1.6.2, without AirPcap.
       Intel(R) Xeon(R) CPU E7- 4870  @ 2.40GHz, with 8191MB of physical
memory.


Built using Microsoft Visual C++ 10.0 build 40219


>>>>>>>>>>>>>>>>>>>>
Windows 8.1:
Version 1.12.4 (v1.12.4-0-gb4861da from master-1.12)

Copyright 1998-2015 Gerald Combs <[email protected]> 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 (64-bit) with GTK+ 2.24.23, with Cairo 1.10.2, with Pango 1.34.0, with
GLib 2.38.0, with WinPcap (4_1_3), with libz 1.2.5, with SMI 0.4.8, with c-ares
1.9.1, with Lua 5.2, without Python, with GnuTLS 3.2.15, with Gcrypt 1.6.2,
without Kerberos, with GeoIP, with PortAudio V19-devel (built Mar  4 2015),
with
AirPcap.

Running on 64-bit Windows 8.1, build 9600, 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 3.2.15, Gcrypt 1.6.2, without AirPcap.
Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz, with 3783MB of physical memory.


Built using Microsoft Visual C++ 10.0 build 40219

--
Occurs on Windows Server 2012 and Windows 8.1.

Attempting to use Edit/Preferences/Filter Expressions, and apply a label to a
filter. The 'label' field allows entry of the desired text, and the 'filter
_expression_' field allows insertion of the valid display filter. Click Apply or
OK, and the 'label' field returns to "New Label". The button on the 'Filter'
line in the GUI shows "New Label".

On the Win8.1 machine, am able to successfully edit
C:\Users\<user>\AppData\Roaming\Wireshark\preferences file to include the
desired text:
####### Filter Expressions ########
gui.filter_expressions.label: test2<>test3
gui.filter_expressions.enabled: TRUE
gui.filter_expressions.expr: (ip.addr == 10.0.0.193 or ip.addr == 10.0.0.194)
and not (browser or nbns)
########
Save the preferences file, then start Wireshark and the desired text appears as
the button text in the '_expression_' area of the GUI.

On the Windows Server 2012, on a second round of attempting to test/verify, now
it is the 'Filter _expression_' field that won't save, it keeps returning to "New
_expression_".

>From C:\Users\<user>\AppData\Roaming\Wireshark\preferences:
####### Filter Expressions ########
gui.filter_expressions.label: test2<>test3
gui.filter_expressions.enabled: TRUE
gui.filter_expressions.expr: New _expression_
#######

Changing "gui.filter_expressions.expr: New _expression_" to
"gui.filter_expressions.expr: (ip.addr == 10.0.0.193 or ip.addr == 10.0.0.194)
and not (browser or nbns)", saving the preferences file, and then starting
Wireshark and the desired _expression_ and button label are shown.


You are receiving this mail because:
  • You are watching all bug changes.