GNOME Bugzilla – Bug 770778
file operation popover height too small after last gtk+ gtkscrolledwindow change.
Last modified: 2016-09-08 19:00:01 UTC
Created attachment 334702 [details] nautilus small popover. After https://git.gnome.org/browse/gtk+/commit/?id=0984d1622d022bf67207f985f7842b6299818e20 nautilus file operation popover is too small. Notice the attached screenshot.
Those warnings appear in the terminal when the popover shows. (nautilus:16393): Gtk-WARNING **: GtkMenuButton 0x1ff2500 is drawn without a current allocation. This should not happen. (nautilus:16393): Gtk-WARNING **: GtkDrawingArea 0x1ff60f0 is drawn without a current allocation. This should not happen. (nautilus:16393): Gtk-WARNING **: GtkMenuButton 0x1ff2500 is drawn without a current allocation. This should not happen. (nautilus:16393): Gtk-WARNING **: GtkDrawingArea 0x1ff60f0 is drawn without a current allocation. This should not happen. (nautilus:16393): Gtk-WARNING **: GtkMenuButton 0x1ff2500 is drawn without a current allocation. This should not happen. (nautilus:16393): Gtk-WARNING **: GtkDrawingArea 0x1ff60f0 is drawn without a current allocation. This should not happen.
I asked about the warnings on irc. baedert: it's very obious on wayland but also reproducible on X but harder.
Just to remove confusion, I am using Xorg with Nvidia drivers.
Created attachment 334712 [details] [review] nautilus-toolbar.ui: propagate operations popover children height Without propagating the natural height of the children of the operations popover, it does not grow vertically.
I suppose we should be doing this now?
*** Bug 770943 has been marked as a duplicate of this bug. ***
Hey Ernestas, I couldn't catch you in IRC. I'm delaying the review since I still see some strange behaviours in the gtk3-widget-factory regarding this property, so I'm not sure how stable all the scrolled window status is.
Review of attachment 334712 [details] [review]: Further investigation with gtk+ master points that this is correct. Thanks Ernestas!
Attachment 334712 [details] pushed as 2f878b7 - nautilus-toolbar.ui: propagate operations popover children height