[Wayland-bugs] [Bug 748892] wayland: focus issue with gnome-terminal

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Wed Jun 17 03:59:55 PDT 2015


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

Carlos Garnacho <carlosg at gnome.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlosg at gnome.org

--- Comment #11 from Carlos Garnacho <carlosg at gnome.org> ---
(In reply to Olivier Fourdan from comment #10)
> Created attachment 305460 [details] [review]
> Proposed fix
> 
> Do not rewrite events for Wayland

Thanks so much for the investigation Olivier! I however think this patch is
targetting the symptom, and not the real bug... gdk_device_grab_info() seems to
be returning stale info from a previous grab (implicit or active). To me it
seems the bug is somewhere in GtkMenu or the GDK wayland backend that doesn't
trigger the removal of that grab.

I've set a breakpoint in _gdk_display_end_device_grab(), and it seemed to
confirm my suspicions, as soon as you click on a menu, I would expect that
function called with implicit=true, in order to break the implicit grab, it
however isn't.

This rather looks to me like something the wayland gdk backend should be
triggering upon showing an xdg_popup.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150617/95bed88f/attachment.html>


More information about the wayland-bugs mailing list