GNOME Bugzilla – Bug 493361
When Vim component has focus, main window does not receive keyboard events
Last modified: 2020-11-06 20:06:35 UTC
Please describe the problem: Using PIDA, which embeds Vim in a GTK Socket, when the Vim component has focus, keyboard shortcuts do not reach the main window. For example, ctrl-shift-t which opens a new terminal when vim component is focussed in every other window manager, does nothing in Metacity. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
I'd encourage you to also debug this in the app; while it could be a metacity bug, I'm having a hard time imagining what the bug would be. It does not mean much that the bug happens with some window managers and not others. That could just mean the app has a race condition or otherwise relies on something about the WM that is not guaranteed by the specs, and metacity happens to trigger the app bug for some reason. If nothing else, documenting exactly what happens in the app - which app windows have focus, which focus events arrive, and which keystrokes go to which windows - and how this is different under a non-metacity WM - would help a lot in tracking down any metacity issue. The very simple thing to check first of course is that there's no metacity or gnome global keybinding set up for ctrl+shift+t - check that you can send that key sequence to "xev" - I'm sure this is obvious enough that it's not the problem, though.
If I understand correctly, it looks like others discovered that this bug was not metacity specific, duplicating with both fvwm and fluxbox. See http://groups.google.com/group/pida/browse_thread/thread/f2951a1dc7ac7bf8. Ali: Am I reading that thread right? Okay to mark this bug as notgnome?
Elijah: Yes, you are correct, however it does work with the following window managers: * xfce4/xfwm4 * kde/kwin So I would hesitate to suggest that "even though the bug is also present in fluxbox, does not mean that it is not a bug in gnome". I suspect that Gnome/Metacity wants to be in the league of xfce4 and kde, rather than the league of fvwm and fluxbox. Thanks for giving the bug your attention!
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/metacity/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.