X2Go Bug report logs - #1618
x2go on Ubuntu MATE 22.04.3 LTS host & client reorders key presses

version graph

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Christian Kothe <christiankothe@gmail.com>

Date: Sun, 17 Dec 2023 18:30:02 UTC

Severity: normal

Found in version 4.1.0.3

Full log


Message #10 received at 1618@bugs.x2go.org (full text, mbox, reply):

Received: (at 1618) by bugs.x2go.org; 11 Feb 2024 15:33:22 +0000
From christiankothe@gmail.com  Sun Feb 11 16:33:21 2024
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=1.8 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_IMAGE_ONLY_16,
	HTML_IMAGE_RATIO_04,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,
	T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no
	version=3.4.2
Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id BBF875DAD6
	for <1618@bugs.x2go.org>; Sun, 11 Feb 2024 16:33:20 +0100 (CET)
Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-60757c46e34so1414967b3.1
        for <1618@bugs.x2go.org>; Sun, 11 Feb 2024 07:33:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1707665599; x=1708270399; darn=bugs.x2go.org;
        h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
         :date:message-id:reply-to;
        bh=d1P0/ZQuYIdOqJBFMj8T3CVymIUo2ev8XW+Qy4JII14=;
        b=UGDXJWEZvHMawC6mHPSJyVmzeqAYdspm/I0VQtaHU+OYfqZSaY5RI53ZwAJiDXufj/
         tqxLo4E48xd0WD4EJnwyaYLWLT9MG2XmEmq0ix/Br8HvosZNbbjNVFDmofEAcBx4ITFD
         V8yhdSXXvP1qhnhlcKN6xb19wsylR4X874FHWm3aLDpyuGXypsFyb8gA2fczSjM9ZET2
         c4D2VXPqq38ZffOApBw8dujabcNVrPcmbZNZShMPXO1gfrPwGJ9WthL0WS/OxG9CYMg7
         +2KjyxYv3+IjRUHRS0/rkq85FOGA7Q2u4/MZNyNYdQJQXLNC19z4pG/birlltY+K3hST
         WZlQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1707665599; x=1708270399;
        h=to:subject:message-id:date:from:mime-version:x-gm-message-state
         :from:to:cc:subject:date:message-id:reply-to;
        bh=d1P0/ZQuYIdOqJBFMj8T3CVymIUo2ev8XW+Qy4JII14=;
        b=dV3zPM4K+nDFNbUNFG3qz/Hu0qJ0N0yYp44mKZqoFpfNdlyKTsa+FRQm2R4m8UtZkz
         +8d6dvWmHjbOSXM0avarmS5g7YH3WXcyD5tXHrpdyhqPDOX4loMz7XqA6l0c7nfltqqN
         E80hZYu4W/0Z9uHk+lwejvuJYTBe19e4kpN1qm0tuMWkknkvnkr9sjlPOp9D8JCh2eoI
         Wj8N5Lx2jgAp7rQMF1+ZkBg2BFbtWHWKDbz5ULz+ORgdgXqukxdDLyLgdOSQoV0KIgfE
         ZVE5qW6TK9vN4f7/piv6iqbY3mAsuvHGzDG1jumSA5fffHhq13qbfBTjheu0p+4UKy7J
         qs8Q==
X-Gm-Message-State: AOJu0YzUe5vUt3C2Zxa2UOmX+NA1MnIGeSpDaXzvhuU5iOB6xgA37iNt
	ZtuXFJ25xfY9m6dkE0uozIBJjz0cHnpwp9Am0CoNo57lwxk3OzRHywF7ywcuv6oX98VEkEMv/xK
	eMEN2eoFjnz1M8B4B0JblIHq8jARxzvqLK7s=
X-Google-Smtp-Source: AGHT+IGMjQ5sfVtu1Kxo/GiqNaFR1PQfTZm9ialDLV4aam5Lbw63Ad4dcJEee+k0OVIIu03zDtay/qUtG4kA1Z1q9xI=
X-Received: by 2002:a05:690c:428c:b0:604:dd57:7845 with SMTP id
 gj12-20020a05690c428c00b00604dd577845mr2320581ywb.2.1707665598296; Sun, 11
 Feb 2024 07:33:18 -0800 (PST)
MIME-Version: 1.0
From: Christian Kothe <christiankothe@gmail.com>
Date: Sun, 11 Feb 2024 07:33:06 -0800
Message-ID: <CAFfSDugdU0kSUyjDmGVhH_k7rFHiFw9USqDFN=7xOtS+S1cRAw@mail.gmail.com>
Subject: Additional information to aid reproducibility:
To: 1618@bugs.x2go.org
Content-Type: multipart/related; boundary="00000000000061de9406111ce1d6"
[Message part 1 (text/plain, inline)]
The bug can be reproduced by running a test script that simulates
successive key presses in sequence at high (touch-typing) rates. The
attached screenshot shows the local copy of that script in the top half and
the key presses as they appear in a terminal window on the remote machine
in the bottom half. The annotations show that there is on average one
reordering every 7-8 closely timed keystrokes.

[image: testcase-annotated.png]

The script code is (you may have to run pip install pyautogui to install
the dependency into your python interpreter):
import time
import pyautogui

time.sleep(5)
for k in range(10):
    pyautogui.press(list('0123456789abcdefghijklmnopqrstuvwxyz'))
    pyautogui.press('enter')
    time.sleep(1)

Note that the editor is PyCharm (a popular Java-based IDE), which is a bit
more CPU-intensive than some other software during editing, so this could
well have something to do with it. If you want to test it with that,
PyCharm is freely available from: https://www.jetbrains.com/pycharm/

Thanks for your attention,
Christian
[Message part 2 (text/html, inline)]
[testcase-annotated.png (image/png, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri May 17 01:59:15 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.