GNOME Bugzilla – Bug 729097
size allocation problem in popovers
Last modified: 2014-04-28 20:44:29 UTC
Created attachment 275313 [details] screenshot Here is a screenshot of testmenubutton that shows the popover content being underallocated by 2 pixels (look closely at the 3 to spot it). Curiously, this only happen if the popover is originally pointing downward and pushed to the right by window geometry. Changing the menu button to point right from the outset makes the problem go away.
Created attachment 275373 [details] [review] popover: Always make room for the tail on all sides on size request Now that popovers may snap to any side with enough space, make enough room on every side when requesting size, so that there's no w/h differences at the time of setting the child allocation.
Review of attachment 275373 [details] [review]: ok, if that fixes it, fine with me
Attachment 275373 [details] pushed as 5b72e0f - popover: Always make room for the tail on all sides on size request