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

Milan Crha <mc...@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mc...@redhat.com

--- Comment #11 from Milan Crha <mc...@redhat.com> ---
One part common with a downstream bug for evolution:
https://bugzilla.redhat.com/show_bug.cgi?id=1394993

The problem there was that the menu items are updated only after the menu is
shown. It doesn't matter which function is used to show the popup menu, the
problem is that the menu content changes after it is shown. While X11 resizes
whole menu container, the Wayland does not.

It's not only about hiding items, but also about showing them, in which case
the menu receives "scrolling" arrows up and down, even the screen has enough
estate to show all the items (and it looks really weird when you have a menu of
4 items, then you add there one item and a separator and the menu becomes
scrolling with showing effectively only one and a half line).

There are side-effects of the menu resize though. Imagine you show a menu with
20 items. The menu is placed "naturally" beside the mouse pointer. If you then
hide 15 items, then (currently only on X11) the menu resizes in a way that it
keeps its left-top corner at the same place, which (most likely) makes the menu
misplaced. Having items ready before the menu is shown is all fine (of course).

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

Reply via email to