ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 4901] new_packet_list: Print doesn't follow column order w

Date: Thu, 24 Jun 2010 21:15:53 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4901

Jim Young <jyoung@xxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jyoung@xxxxxxx

--- Comment #2 from Jim Young <jyoung@xxxxxxx> 2010-06-24 21:15:45 PDT ---
Related to this bug is after a drag and drop operation that using the right
mouse click column pop-up on a cell in the packet-list will in fact generate a
Prepare as (or Select as) filter using data from the column to the left or
right of where the mouse cursor was positioned.

Use the following sequence to recreate the issue:

1 Open some small trace file.

2 Open the Wireshark Configuration Profiles dialog:

   Edit | Configuration Profiles...

3  Create a New default profile:

   Click on the [New] button

4  Change the name from "New profile" to "Test profile"

5  Click the [Ok] button to select the newly created "Test profile"

6  The Packetlist should display the default six columns in this order:

    No., Time, Source, Destination, Protocol, Info

7   In the packet details pane expand the "Frame" tree.

8   Move the mouse cursor over the "Frame Length:" detail and do a right mouse
click to open up the pop-up menu.

9   From the pop-up select the "Apply as Column" item.  This will create a new
"Frame length on the wire" column between the "Protocol" and "Info" columns.

10  Now move the mouse cursor over one of the "Frame length on the wire" cells
in the Packet List and do a right mouse click.

11  Select the "Prepare a filter" --> "Selected".   The display filter input
field should show something like: "frame.len == 1234".

12  Clear the display filter field.

13  Now using the drag and drop feature, drag the column header for "Frame
length on the wire" column to between the "Time" and "Source" columns.

14  Similar to step 10 above move the move mouse cursor over one of the "Frame
length on the wire" cells in the Packet List and do a right mouse click.

15  Select the "Prepare a filter" --> "Selected".   The display filter input
field will unexpectedly display something like: "ip.src == 10.1.1.1" instead of
the expected "frame.len == 1234".

This test appears to confirm that the internal structures are not updated after
a column DND.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.