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

--- Comment #6 from Olivier Fourdan <[email protected]> ---

(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.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to