https://bugzilla.gnome.org/show_bug.cgi?id=772505

--- Comment #15 from Olivier Fourdan <[email protected]> ---
(In reply to Ernestas Kulik from comment #14)
> [...]
> However, there haven’t really been reports of this up until that switch from
> the deprecated API, hence my finger pointing.

No worries, I'm mostly thinking out loud, in case it rings a bell with others
:)

Anyway, Looking at gtk_menu_realize(), we can see that the
gtk_widget_get_allocation() is wrong on both X11 and Wayland backend, it's too
large initally.

Event though a later gtk_menu_size_allocate() is supposed to make it right, on
Wayland it's the size set in create_dynamic_positioner() (as we are using
xdg_posiionner now for this) that takes precedence, i.e. the wrong one.

That explains why the bug shows on Wayland and not on X11.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to