[Wayland] Gtk3 popup positioner size has negative height
Occurs using a custom wayland compositor (https://github.com/udevbe/greenfield).
After maximizing/minimizing the gtk3-demo-application, the menu popup has a wrong size and position but only the first time a menu popup is shown after a maximize/minimize. (I suspect this might perhaps be caused by the compositor issuing confusing configure events or simply bad positioning of the popup). However occasionally the popup menu is configured using an illegal positioner size, resulting in a wayland protocol violation.
Full protocol trace attached.gtk3bug_wl_trace.txt
[1108494,452] -> xdg_positioner@21.set_size(91, -14)
In short:
- start gtk3-demo-application
- Maximize
- Open menu popup
- menu popup has weird size & location
- open menu popup again
- size is ok now
Repeat above and sometimes instead of a weird size & location, the positioner size is illegal.
Edited by Erik De Rijcke