[Wayland-bugs] [Bug 696946] error when using radiomenuitems

gtk+ (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 2 13:11:32 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=696946
  gtk+ | wayland | unspecified

Kristian Høgsberg <krh> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krh at bitplanet.net

--- Comment #2 from Kristian Høgsberg <krh at bitplanet.net> 2013-04-02 20:11:30 UTC ---
This is a weston bug.  What happens is that the client destroys the wl_surface,
which then cancels the popup grab.  When we end the grab we go back the the
default grab and calls the focus callback with wl_pointer.current (see
wl_pointer_end_grab).  Current is the surface that currently contains the
pointer, regardless of pointer focus and grabs etc and lets the default grab
set focus back to that surface without picking again.

When clicking in a menu, wl_pointer.current is the menu surface, which we then
destroy.  The default grab will then try to send an enter event for a destroyed
surface.  We need a destroy listener for the current surface as well, so we can
NULL wl_pointer.current.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Wayland-bugs mailing list