GNOME Bugzilla – Bug 695120
GtkMenu and GdkWindow sizes can get out of sync
Last modified: 2013-05-13 01:14:47 UTC
GtkMenu calls gtk_widget_size_allocate on its GtkWindow during gtk_menu_popup_for_device if the menu has not been realised. This can cause the allocation of the GtkWindow and the size of the GdkWindow to become out of sync because a top level GtkWindow does not attempt to re-size the GdkWindow when its allocation is set.
Created attachment 238138 [details] [review] Remove gtk_widget_size_allocate from gtk_menu_popup_for_device This patch was suggested by Benjamin Otte.
Doesn't seem to obviously break any scrolling menu examples I have around, so I think we should go for this - can you add a commit message that explains where this was causing problems ?
Review of attachment 238138 [details] [review]: .