Wireshark-bugs: [Wireshark-bugs] [Bug 11324] New: Qt - Custom Column Quirkiness when added or re

Date: Thu, 02 Jul 2015 03:34:19 +0000
Bug ID 11324
Summary Qt - Custom Column Quirkiness when added or removed
Product Wireshark
Version 1.99.x (Experimental)
Hardware x86
OS All
Status UNCONFIRMED
Severity Major
Priority Low
Component Qt UI
Assignee [email protected]
Reporter [email protected]

Created attachment 13703 [details]
sample pcapng file to demonstrate custom column issue

Build Information:
Version 1.99.8-242-g4a8f0e1 (v1.99.8rc0-242-g4a8f0e1 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.8.5, build 12F2518 (Darwin 12.6.0), with locale C, with
libpcap version 1.1.1, with libz 1.2.5, with GnuTLS 2.12.19, with Gcrypt 1.5.0.
      Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz (with SSE4.2)

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

Wireshark is Open Source Software released under the GNU General Public
License.

Check the man page and http://www.wireshark.org for more information.
--
On the Qt based Wireshark a custom column added by selecting "Apply as Column"
from the pop-up menu after one right-mouse clicks on an item from the
packet-details does not get displayed correctly or immediately.

Similarly deleting a custom column via a right-mouse click on a specific
packet-list header item and selecting "Remove This Column" from the pop-up menu
also does not always display correctly.

Workaround: One must click on the buttons "Reload this file" and "Resize
packet-list columns to fit contents" (or do the keyboard equivalents) to get
the packet-list to display the newly added column(s) with their appropriate
widths.

This behavior has been seen on both OS X and on Windows 8 systems using recent
buildbot versions.

Attached is the trace file dnsing.pcapng (from Sharkfest'15 packet-challenge)
to use an example to show this issue.

Start up Wireshark with the default 7 columns:

No.
Time
Source
Destination
Protocol
Length
Info

To better see the issue maximize Wireshark to full-screen.

Open the example trace file dnsing.pcapng.

In the Packet Details pane expand the "Domain Name System" tree.

Right-mouse click on the "Additional RRs:" entry and select "Apply as Column"
from the pop-up menu.

We expect this new custom column to be inserted between the Length and Info
columns but no immediate change is apparent.   On both OS X and Windows,
clicking on a row in the packet-list will cause the new Custom Column's name to
appear in the Header cell ("Info" will be replaced with "Additional RRs"), but
the contents of the cells in this new 7th column will contain the contents of
the "Info" column right-justified.

Clicking on the "Reload this file" button will result in eight columns being
displayed with the correct contents, but the width of the newly added
"Additional RRs" column will be displayed too wide and the "Info" column will
be too narrow.

Clicking on the "Resize packet-list columns to fit contents" button will cause
the "Additional RRs" and "Info" columns to be resized appropriately.

If you then right-mouse click on the "Additional RRs" column header and select
"Remove This Column", the contents of the Additional RRs column will switch
from right justified to left justified and the contents of the original Info
column will be completely cleared to white.

Clicking on a row in the Packet List will cause the header on the 7th column to
change from "Additional RRs" to "Info" but the the contents displayed in the
7th column will still contain the data from "Additional RRs" column.

A subsequent "Reload the file" will cause the contents of the Info column to
display the expected "Info" text at the expected width.


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