Unsetting the GTK_IM_MODULE environment variable makes the problem go away.
Possibly related: bug #1765304.
Unsetting the GTK_IM_MODULE environment variable makes the problem go away.
Possibly related: bug #1765304.