Wireshark-bugs: [Wireshark-bugs] [Bug 1915] Opening Capture Options Windows sometimes causes Wir
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1915
------- Comment #5 from wmeier@xxxxxxxxxxx 2007-10-16 15:11 GMT -------
> Is this a new defect introduced in GTK+ 2.12.0, with GLib 2.14.1 or a
> latent bug in Wireshark that perhaps depended on unspecified behavior of the
> previous GTK+ and Glibs?
I'm not yet sure but I'm leaning towards a GTK2 problem or an interaction
between GTK2 and Wireshark
I still get the problem if I replace the entire Capture Options window with a
very simple window that literally just displays the widget obtained from
gtk_option_menu_new().
void
capture_prep_cb(GtkWidget *w _U_, gpointer d _U_)
{
GtkWidget *x_om;
cap_open_w = dlg_window_new("My Foo");
x_om = gtk_option_menu_new();
gtk_container_add(GTK_CONTAINER(cap_open_w), x_om);
SIGNAL_CONNECT(cap_open_w, "delete_event", window_delete_event_cb, NULL);
SIGNAL_CONNECT(cap_open_w, "destroy", capture_prep_destroy_cb, NULL);
gtk_widget_show_all(cap_open_w);
}
(Comment out the gtk_option_menu_new() and gtk_container_add() lines
and then no failure).
Also: I'm pretty sure that all the GTK2 WS usages of the GtkOptionMenu widget
fail on Windows. I tried a number of them and each failed:
- immediately when using the debugger;
- eventually when not using the debugger;
Next step (later today): see what happens with a simple GtkOptionMenu test
program.
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.