What Onboard exactly does at the point of the layout switch is calling XSync() right after XTestFakeKeyEvent() (not remapping the layout on the fly, which it can do to). So its probably the same bug #837456.
I'm still hesitant to duplicate. That bug is so old and nothing ever came from it. I feel we need get more specific and then talk straight to upstream, whoever that will be. I have some tiny sample code that generates a MappingNotify event, seemingly for no reason. If we find the source of that we're perhaps a bit closer to a solution. ** Attachment added: "Sample code triggering MappingNotify event" https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1562381/+attachment/4655413/+files/xmappingnotify.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1562381 Title: Typing special characters with non-US layout get repeated indefinitely To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/1562381/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
