[winswitch] Key repeat bug
antoine at nagafix.co.uk
Fri Apr 2 16:33:18 BST 2021
On 02/04/2021 22:23, Anthony Stone via shifter-users wrote:
> Sorry, I forgot to say: Ubuntu 18.04 and xpra 4.1.1 on client and server.
> I have tried turning keyboard sync off, and so far have had no more
> trouble, but that hasn't been very long. Is it reasonable to leave it
> off indefinitely?
With keyboard-sync turned off, the xpra client will send a pair of
key-press + key-release for each key event. It does so even when the key
is held down, in which case it will send those event pairs repeatedly.
This prevents problems when variations in the latency cause the
key-release event to arrive too late (be it CPU overload or actual line
latency jitter) but this can also cause some applications to misbehave
if they're monitoring the keyboard state rather than just processing key
This does not affect modifiers which are handled separately.
> It's a fast broadband connection, approaching 100 mb/s. The ping time to
> the server is around 24 ms.
> On 01/04/2021 18:00, Antoine Martin via shifter-users wrote:
>> On 01/04/2021 23:18, Anthony Stone via shifter-users wrote:
>>> I'm experiencing odd behaviour while using xpra. Quite often, when I
>>> press a key, however briefly, the character seems to be transmitted many
>>> times -- as many as 20 times or more. This happens both when working in
>>> emacs on the remote machine, and also, less often, on the command line
>>> of the remote. It happens to many different characters, including return
>>> and backspace (delete), so I don't think it can be a sticky keyboard.
>>> Can it be a bug in xpra? It happens often enough in emacs to be a real
>> What version and OS are you using on client and server?
>> Have you tried turning keyboard-sync off?
>> What is the latency of your connection?
>>> shifter-users mailing list
>>> shifter-users at lists.devloop.org.uk
>> shifter-users mailing list
>> shifter-users at lists.devloop.org.uk
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
More information about the shifter-users