Xpra: Ticket #142: On networks with high latency, typing fast characters are entered twice

On a network with a good throughput, but a high latency (connection via a mobile phone), I am experiencing a strange phenomenon.

When typing on the keyboard, if I type slowly everything is fine. However, if I type fast, some keys get repeated. For instance, trying to type:

echo This is a test

I may get

eccho Thiis iis a teest


Wed, 06 Jun 2012 10:56:25 GMT - Antoine Martin: status changed

man xpra | grep latency

Edited grep:

       --no-keyboard-sync
              Disables keyboard state synchronization. Normally the key
              presses and key release events are sent to the server as they
              occur so that the server can maintain a consistent keyboard
              state.  Using this option can prevent keys from repeating
              unexpectedly on  high latency links but it may also disrupt
              applications which access the keyboard directly (games, etc).

Let me know if that helps..


Wed, 06 Jun 2012 11:22:30 GMT - sergio:

Thanks... I have evidently missed it... I'll try as soon as have that kind of high latency access again. Would be great if this could be self-tuning.


Wed, 06 Jun 2012 11:27:52 GMT - Antoine Martin:

OK, once tested - please close the bug if this works for you.

Self-tuning would be great.. but latency is hard to measure, and by definition it fluctuates, so this is going to be difficult. What we could do, which would help us to bring self-tuning eventually would be to at least provide a GUI option for it so it can be toggled at runtime without disconnecting: moved to #143


Fri, 22 Jun 2012 19:44:00 GMT - Antoine Martin: status changed; resolution set

not heard back, closing


Sat, 23 Jan 2021 04:46:40 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/142