[GTK3.24][Wayland] GtkMenu popup is out of screen when pointer is near screen boundaries
Steps to reproduce
- popup-main.c
- Run the snippet, place the window near the bottom of the screen (see screenshot)
- Move the pointer to the "press me" text, click to open popup menu
Current behavior
On Wayland, the popup menu does not account for the number of menu items, and is positioned such that the a lot of the menu items are outside of the screen. See
Expected outcome
Popup menus should be positioned such that all menu items is within the screen boundary. The correct behaviour on X11:
Version information
GTK3.24 on Fedora 29.