Wireshark-bugs: [Wireshark-bugs] [Bug 11433] New: Qt Wireshark - Field Name and Occurrence are n

Date: Mon, 10 Aug 2015 05:19:15 +0000
Bug ID 11433
Summary Qt Wireshark - Field Name and Occurrence are not initialized when using Packet List Header Context menu item "Edit Column"
Product Wireshark
Version Git
Hardware x86
OS All
Status UNCONFIRMED
Severity Minor
Priority Low
Component Qt UI
Assignee [email protected]
Reporter [email protected]

Created attachment 13793 [details]
Small contrived pseudo http request on non-standard port

Build Information:
Wireshark 1.99.9-136-gaafc7ff (v1.99.9rc0-136-gaafc7ff from unknown)

Copyright 1998-2015 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
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 Qt 5.3.2, with libpcap, without POSIX capabilities, with
libz 1.2.3, with GLib 2.36.0, with SMI 0.4.8, without c-ares, without ADNS,
with
Lua 5.2, with GnuTLS 2.12.19, with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP,
without PortAudio, without AirPcap.

Running on Mac OS X 10.10.4, build 14E46 (Darwin 14.4.0), with locale C, with
libpcap version 1.5.3 - Apple version 47, with libz 1.2.5, with GnuTLS 2.12.19,
with Gcrypt 1.5.0.
Intel(R) Core(TM) i7-4980HQ CPU @ 2.80GHz (with SSE4.2)

Built using llvm-gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
2336.9.00).

--
In Qt Wireshark one can right-mouse click on a packet list header item to
display a context menu.  One of the items in this context menu is "Edit
Column".  If Edit Column is selected a new widget is inserted above the Packet
List that allows one to edit four attributes regarding the selected packet list
column.  When the widget is opened the "Title" and "Type" fields are
initialized, but the "Field Name" and "Occurrence" fields are left blank.   If
one chooses [Ok] the Field Name will be cleared but the contents of the Field
name will still be displayed in the various packet rows as if the original
field value still applied.  When Wireshark is subsequently restarted the rows
under the edited column will no longer have any values.  This problem has been
replicated on both OS X and Windows.

Steps to reproduce.

1 - Open Wireshark

2 - Open the small trace file attached to this report:
1-pseudo-http-conversation.pcapng

3 - In the Packet Details right-click on the "Null/Loopback" entry to open the
Packet Details context menu.

4 - Select "Apply As Column" item.  A new column should be present in the
Packet List with the default header name of "Null/Loopback".   All rows under
this column should have the text "Yes".

5 - Move the mouse pointer over the Packet List header for the Null/LoopBack
column and right-mouse click to open the Packet List Header context menu.

6 - Select the "Column Preferences..." item which will open the Column
Prefefences pane of the Preferences window.  Note the initial values of the
Null/Loopback column:

Title: Null/Loopback
Type: Custom
Field Name: null
Field Occurrence: 0

7 - Close the Preference window by clicking on the [Cancel] button.

8 - Again move the mouse pointer over the Packet List header for the
Null/LoopBack column and right-mouse click to open the Packet List Header
context menu.

9 - This time select the "Edit Column" item to open the Edit Column widget.

10 - The Title and Type fields will be properly initialized, but the Field Name
and Occurrence fields will not.  

11 - Close this widget by clicking on the [Ok] button (for example one might
want to edit the column title to make the default width of this column
narrower).

12 - For the 3rd time move the mouse pointer over the Packet List header for
the Null/LoopBack column and right-mouse click to open the Packet List Header
context menu.

13 -  Select the "Column Preferences..." item to note the new values for the
Null/Loopback custom column:

Title: Null/Loopback
Type: Custom
Field Name: 
Field Occurrence: 0

14 - Close the Preference window by clicking on the [Cancel] button.  Note that
the rows under the Null/Loopback column still display the text "Yes".

15 - Exit Wireshark

16 - Restart Wireshark

17 - Reopen the trace file 1-pseudo-http-conversation.pcapng.

18 - Note that the rows under Null/Loopback column are now empty; they no
longer contain the text "Yes" as they had prior to exiting Wireshark.

Workaround for this issue is to only edit the column header properties using
the Column Preferences pane of the Preferences window.


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