Wireshark-bugs: [Wireshark-bugs] [Bug 3099] New: detail and hex panes show previously selected f
Date: Mon, 8 Dec 2008 09:11:36 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3099

           Summary: detail and hex panes show previously selected frame when
                    display filter results in a one frame match
           Product: Wireshark
           Version: 1.1.x (Experimental)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: jyoung@xxxxxxx


Build Information:
Version 1.1.2 (SVN Rev 26804)

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> 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 with GTK+ 2.14.4, with GLib 2.18.2, with WinPcap (version unknown),
with libz 1.2.3, without POSIX capabilities, with libpcre 7.0, with SMI 0.4.8,
with c-ares 1.5.3, with Lua 5.1, with GnuTLS 2.3.8, with Gcrypt 1.4.1, with MIT
Kerberos, without GeoIP, with PortAudio V19-devel (built Dec  8 2008), with
AirPcap.

Running on Windows XP Service Pack 2, build 2600, with WinPcap version 4.0.2
(packet.dll version 4.0.0.1040), based on libpcap version 0.9.5, without
AirPcap.

Built using Microsoft Visual C++ 9.0 build 30729

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

Check the man page and http://www.wireshark.org for more information.

--
This bug is harder to describe, then it is to demonstrate.   

This bug appears to have been introduced with SVN 26804 (Optimized finding
current row from cfile.current_frame).  SVN versions prior to this do not
exhibit this problem.

 o Description

A display filter once applied usually results in an updated list of frames
displayed in the summary pane.  This summary list can contains zero (0), one
(1) or more than one frames.   When more than zero (0) frames are displayed,
one frame in the list is "selected" and the detail and hex panes are updated to
reflect the contents of the selected frame.

The current bug appears when a display filter is applied that results in only
one (1) matching frame, and that one matching frame is NOT the same frame that
was "selected" prior to the application of the current display filter.

With this bug the detail and hex panes will contain data from the previously
selected frame and NOT from currently selected frame.

 o How to reproduce:

1) Open up a trace file containing more that one frame.

2) Note that frame 1 should is selected and that it's contents are displayed in
the detail and hex panes.

3) Apply a display filter that results in selecting a single frame different
from the currently "selected" frame: e.g. "frame.number==2"

4) Confirm that the frame number displayed in the details pane is frame 1 and
NOT frame 2 as expected.


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