[Wayland-bugs] [Bug 748892] wayland: focus issue with gnome-terminal
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue May 26 02:58:20 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=748892
--- Comment #6 from Olivier Fourdan <ofourdan at redhat.com> ---
(In reply to Olivier Fourdan from comment #5)
> Yet I fail to come up with a simple reproducer using gtk+ alone, not I can
> find any other app that exhibit the same behaviour so maybe it's g-t
> triggering that bug in gtk but I still don't know how...
> [...]
OK, some progress, gdb FTW.
What confuses gtk+ is the use of a GtkWindowGroup.
Basically what happens is that g-t creates a GtkWindowGroup for its windows and
when opening a new terminal using the menu, the grab is on the menu so that
gtk_main_do_event() will pick the GtkMenuBar attached to the current window and
not the new window.
Not using a GtkWindowGroup in g-t fixes the focus issue. I wonder why this
affects Wayland and not x11 though.
--
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/20150526/12405bb2/attachment.html>
More information about the wayland-bugs
mailing list