Xpra: Ticket #34: holding down Ctrl + N sometimes produces ^N and sometimes n

I'm using r259

Steps to reproduce: 1) open gnome-terminal 2) run "cat" 3) press and hold ctrl 4) press and hold N

Expected results: 4) gnome-terminal is filled with

^N^N^N^N^N^N^N^N^N^N^N^N...

Actual results: 4) gnome-terminal has

^Nn^Nn^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^Nn^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N^N...

More info: 1) xev also shows that ctrl is released and pressed multiple times even though I never release the physical key.



Sat, 29 Oct 2011 06:40:46 GMT - Antoine Martin: status changed

This is caused by #21 (sigh)

The problem is that the jitter compensation code fires too easily, causing ctrl to be released when it should not be. Is this on a slow line? Jitter? Were there many screen updates at the time?


Sat, 29 Oct 2011 07:03:33 GMT - Antoine Martin: description changed


Sat, 29 Oct 2011 07:27:09 GMT - Timo Juhani Lindfors:

No this is a very fast 10/10 VDSL2 link.


Tue, 01 Nov 2011 08:17:48 GMT - Antoine Martin: status changed; resolution set

Should be fixed by r263: jitter compensation was too trigger-happy

Please re-open if necessary.


Mon, 20 Feb 2012 19:50:05 GMT - Antoine Martin: version, milestone set


Sat, 23 Jan 2021 04:43:45 GMT - migration script:

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