GNOME Bugzilla – Bug 609929
Dragging between two windows cause the menu widget to be destroyed
Last modified: 2010-03-22 18:16:01 UTC
Created attachment 153773 [details] example case, dragging the tabs between the two windows causes the menu item to disappear When using a GtkNotebook with a popup menu with widgets that aren't just GtkLabels, the menu items disappear when dragging between two notebook. Attached is a simple example program showing this. To reproduce just drag a tab from one window to another, it's item in the right-click menu then because an empty placeholder instead of the actual menu item that was put in place. This seem to be caused by the fact that when the MenuItem for the page gets removed when the tab is detached it call gtk_widget_destroy on all its child widgets, including the widget we put in the menu. When this widget is later (re)added to the menu it doesn't show up anymore.
Created attachment 153792 [details] [review] Prevent destruction of the menu item
*** Bug 611039 has been marked as a duplicate of this bug. ***
Given hard code freeze is on monday, maybe it makes sense to check this ;). Any reason why you haven't pushed this furhter Sjoerd?
The reason is that this patch has not been reviewed by a GTK+ guy.
Oh I mean further as in getting a review. Well let's bug people in #gtk I guess. It's an ugly crasher for empathy.
Seems to be correct, committed.