It now works much more predictably, but still has a bug: if the target window is using the default keyboard layout (listed at the top in my Gnome keyboard settings), then Auto-Type works as expected; but if the target window is using a different layout, then xdotool weirdnesses start to show up again.
The current implementation with the patch applied works well enough for me. I hope somebody is looking into incorporating it upstream.
Thanks for the detailed instructions, Julian!
It now works much more predictably, but still has a bug: if the target window is using the default keyboard layout (listed at the top in my Gnome keyboard settings), then Auto-Type works as expected; but if the target window is using a different layout, then xdotool weirdnesses start to show up again.
The current implementation with the patch applied works well enough for me. I hope somebody is looking into incorporating it upstream.