Dynamic menus have wrong size allocated
When I dynamically create a menu, the size of the menu is wrong. The menu is create like so:
def on_dynamic_menu_active (self, widget): print ("on_dynamic_menu_active") for widget in self .menu .get_children (): self .menu .remove (widget) for i in range (0, random .randrange (3, 10)): menuItem = Gtk .MenuItem (label="MenuItem" + str (i)) self .menu .append (menuItem) self .menu .show_all ()
Here is the full python example, but this also happens when I use C++.
This bug occurs since any of the previous versions. Current GTK version is libgtk-3-0 3.24.8-1ubuntu1