On Wed, 24 Aug 2022 05:20:56 -0400, Mike Wey wrote:

You might be able to trace it using the gtk inspector, by running your
application with the following environment variable set:

GTK_DEBUG=interactive

Thanks Mike, I will try that.
Do you know if there is perhaps a GtkD application somewhere that just prints out all events, including keyboard presses? What I fear is that application for whatever reason does not get these events at all (if that is possible).