Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 8908] Strange behavior of tree expand/collapse in packet d

Date: Thu, 18 Jul 2013 21:26:00 +0000

Comment # 19 on bug 8908 from
I discovered another problem which is related to this bug. When the packet
detail tree is expanded and vertical scroll bar is visible then clicking on
same byte on the end of the packet will flicker packet detail window. Scroll
bar is set to position 0 and then to correct position. It's due to
"proto_tree_draw" in "highlight_field" function in "packet_panes.c" file. It's
there as a fix of bug 5585. But since r50516 as a partial fix of this bug it's
no more needed and the packet detail window will not flicker if proto_tree_draw
is removed.

I suggest to remove proto_tree_draw:
--- packet_panes.c    (revision 50697)
+++ packet_panes.c    (working copy)
@@ -397,9 +397,6 @@
         gtk_tree_path_free(path);
     }

-    /* Refresh the display so that the expanded trees are visible */
-    proto_tree_draw(tree, GTK_WIDGET(tree_view));
-
     /* select our field's row */
     gtk_tree_selection_select_path(gtk_tree_view_get_selection(tree_view),
                                    first_path);


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