From X2Go-ML-1@baur-itcs.de Tue Sep 26 14:10:33 2017 Received: (at 1172) by bugs.x2go.org; 26 Sep 2017 12:10:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-4.7 required=3.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 Received: from localhost (localhost [127.0.0.1]) by ymir.das-netzwerkteam.de (Postfix) with ESMTP id B01DD5DACF for <1172@bugs.x2go.org>; Tue, 26 Sep 2017 14:10:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de Received: from ymir.das-netzwerkteam.de ([127.0.0.1]) by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OrMR7Vn5nfhp for <1172@bugs.x2go.org>; Tue, 26 Sep 2017 14:10:28 +0200 (CEST) X-Greylist: delayed 451 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Tue, 26 Sep 2017 14:10:28 CEST Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B3D475DA81 for <1172@bugs.x2go.org>; Tue, 26 Sep 2017 14:10:28 +0200 (CEST) Received: from [192.168.0.15] ([78.43.91.217]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.145]) with ESMTPSA (Nemesis) id 0LrsTu-1dDHfG0oH8-013gTR; Tue, 26 Sep 2017 13:57:56 +0200 Subject: Re: Modifier Keys not working as expected To: Ulrich Sibiller Cc: 1172@bugs.x2go.org References: <9c4f4c5c-0338-cc06-d057-6eec833e8190@baur-itcs.de> From: Stefan Baur Message-ID: Date: Tue, 26 Sep 2017 13:57:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="e00EX2dokxbepEcORWqSfT7Ev28fu7aRL" X-Provags-ID: V03:K0:iKHnqdU8iotOoW0BEgi0BrwhfuVA98JeOZtAxBYNkrfIEK3oUJp K8SfHGZ405zwQLUeRpW6EuP3GICiqjwKj1bbVxrKifuf99xPeImjFhlBFLRQ/CBiEIoOITd QnvRMjkvbOjyPshNkVTtTCrrrNP328eTAxIdU6vZCuJ/sNCn4LaqoFIACQ9agwgdwTBvE3h cCOgK+PjGygHIKRtyjzAQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:6LExgnKdcdQ=:59/raA7b2nQqMZu3Up8+VL QdD9xE+kZBHxQxCpiJLYGeUJvaJnF30IZtINW3f+oitDP3+cbpKV/8TZQo4hajztn+JP97E9q BB1ehOWd5RMJhLNLKtysxZe5CsuechwjbGoGmQv+ItmUapFpytA/ds0F/xJXKpI61E+QA8xbz ZnlTS9Qa34Ll29BldBieJu2QHbz0hMzLKXaZcxfrj1yR4YPWIKDChggh+Lvum5HmHv0fzO1Dk oDajsPLxTdwpDfNTUwSO4PAw95JwRyDekWsV2PPtV+tse2XfAXXy0QkkQt3VOiY9tzNBKCZpH b2PEkqYnxCVnuj4b1vHnZY6OacCHuyYTxkUKsg8O2cQPvJXETGKw6gQLtjZJ9RzEOy+1DtKkf zSEnBoQ71GeW0JskcmbQkBpXTQJg+9khUs/y4z+GWU/o8DbiVqM2FETd6BOJL4q5O84dqOWJu VwaSx+IoCLjESSuLSY21aTszf78jiwDhlrGAileQkyouYF4bLPUGkEQEG33L1HbghlFYKhy5c Uod482uu0oA/wg6L7plU+sNh42j7CQJQtW1orH2EEt1UAzFsMrznHoWrvjEvyUdt6RlpcSQo4 LJO/1yly7l0sZeRVY+NOXWC2UbQWY2y1DfkORsvlD4AJ0rbekMy80jZrmzRnBcCNL6Glv1iO+ vxmZ8sTfEPd7Dsa2RMReXC2szmhoTIRlYyvXYhMqLib5A6CRi8lv4kpGaWc+ARNB4CVrJkPsf r9124ahnJs65WmuNy+k1jtwz2RSbFpwQfRVLpw== This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --e00EX2dokxbepEcORWqSfT7Ev28fu7aRL Content-Type: multipart/mixed; boundary="LXHTjAMHjXwDRtobDp5jvQjfjhwbqW87q"; protected-headers="v1" From: Stefan Baur To: Ulrich Sibiller Cc: 1172@bugs.x2go.org Message-ID: Subject: Re: Modifier Keys not working as expected References: <9c4f4c5c-0338-cc06-d057-6eec833e8190@baur-itcs.de> In-Reply-To: --LXHTjAMHjXwDRtobDp5jvQjfjhwbqW87q Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable Am 26.09.2017 um 12:20 schrieb Ulrich Sibiller: >> A certain application requires the following keypresses: >=20 > Is the spplication's name secret? No, but closed-source/commercial/proprietary. >> - Hold down ctrl, shift and alt >> - while holding them down, press the space bar >> - let go of shift and space bar, keep holding down ctrl and alt >=20 > leaving you with ctrl-alt In theory, yes. But somehow the shift and space bar being pressed and released first tell it to "keep" the keypresses to itself, rather than sending them and the function key on to the X Server. >> - with ctrl and alt pressed, press a function key (F1-F6) >> - let go of all keys >> >> This works when the application is run on :0 - the "ctrl-alt-Fx" is no= t >> passed down to X, so no switch to tty1-tty6 occurs, which is the >> intended and expected behavior. >=20 > So I guess that the application is consuming that very keypress > somehow by communicating with the X server (grab the key(s) in > question). >=20 >> However, with the application running in an X2Go session, the same >> sequence of keys will trigger a switch to tty1-tty6 on the local clien= t. >=20 > The application probably also communicates with the X server which > this time is nxagent. So nxagent would probably not pass the grab to > the real X server. >=20 > You could try if the coming autograb feature helps here. I'll keep that in mind. > But for analysis we'd need the application to see what is doing. They offer a time-limited trial version [0], but IIRC, you still need to register somewhere with your E-Mail address (and they'll send you promo E-Mails during the trial phase, and possibly even afterwards). > For the records: I think it is nx-libs so we should open an issue > there. But I am not sure if we will be able to fix that at all. As I said, feel free to do so - you're way more knowledgeable about the code involved than I am. -Stefan [0] --=20 BAUR-ITCS UG (haftungsbeschr=C3=A4nkt) Gesch=C3=A4ftsf=C3=BChrer: Stefan Baur Eichen=C3=A4ckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 --LXHTjAMHjXwDRtobDp5jvQjfjhwbqW87q-- --e00EX2dokxbepEcORWqSfT7Ev28fu7aRL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJZykDDAAoJEG7d9BjNvlEZYpAIALAZubmTS88cozyRUMLmrDHr uScxNTymhEv9CI23bxIfZEFhQ53o7txgKT+bC2Nt174DiAkTLX/JWiVkJG5k5cqV SW0Pu2tUJwoPgPuIukBYf+i6TiqhinEPFK6FSXUf14S0Xv6vxdbdL5e0qGpNowKJ BuXTvxj/PqY81wkh0pD6HN2QljPkn1u4QQefXuz3iwpLgAS+7V8BUB9/kV9RrWmW hN45Q6kVs2gAGbASh2qy/CW+sW/U4iArYPmCh8EwIxAGn/fDbV0czz7zFxa/eIC2 tKs+9xcBmw/X5f/BnzDohSa3/7S1k6fmCKLHVEbiHuibvhPfZp7dZenYN9aBHec= =9luR -----END PGP SIGNATURE----- --e00EX2dokxbepEcORWqSfT7Ev28fu7aRL--