https://bugzilla.gnome.org/show_bug.cgi?id=772505
--- Comment #17 from Olivier Fourdan <[email protected]> ---
Created attachment 340744
--> https://bugzilla.gnome.org/attachment.cgi?id=340744&action=edit
Simple reproducer
(In reply to Ernestas Kulik from comment #14)
> Yes, you’re right. I’ve only now started noticing that there’s a race
> condition [...]
You're spot on here, it *is* as race condition as demonstrated by this simple
reproducer.
For this to happen, you need to schedule an update of the content immediately
*after* showing the menu (showing the menu means mapping the window which, for
an xdg_popup under Wayland, means creating the xdg_positionner with the initial
given size).
Scheduling the menu content update synchronously or much later (with a larger
timeout) would avoid the the race condition.
--
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