X2Go Bug report logs - #1514
x2client (mswin32) remote focus change should bring window to front

version graph

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

Reported by: "Abt, Johannes" <johannes.abt@advantest.com>

Date: Mon, 28 Dec 2020 10:45:01 UTC

Severity: normal

Found in version 4.1.2.2

Full log


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

Received: (at submit) by bugs.x2go.org; 28 Dec 2020 10:41:39 +0000
From johannes.abt@advantest.com  Mon Dec 28 11:41:37 2020
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,FORGED_SPF_HELO,SPF_HELO_PASS autolearn=no
	autolearn_force=no version=3.4.2
Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on20708.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e88::708])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 72FC05DB0D
	for <submit@bugs.x2go.org>; Mon, 28 Dec 2020 11:41:37 +0100 (CET)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Y4RUWELKZhWkJQKp9IcLurTjO22yXRmvGPTGrKjuGNnjIN/5KxBO+UYS458g5Q/PAhp4t8iZ7CravEtKcjv7oa6MGww1C/TuakuG62qKNgle3y+B59p21YLRR7mazy5UcGm0NiND6VhdszZX38Zw6fY2VlxGzfZZ08FPgom0Vy7E8w992npaP5tDrklCi2mn4H+AaACNpwMwnuDRwEt3bo5XG4WvGdi4gq8svA37Z4mgAkOOutMTX0wZmGSRFqe6hT4PxhXG9DSeLQ/FiVv1XQbCKV0O7Mqi3TZAa3whPjXHSOWNxNOam94kmIxtmf8Ng2DXRG2JpHJJ1Pr3d0klWw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=qv/M3erQTxch+NekWyRGCP608Ha1gp21ggc4kxK7fUo=;
 b=RsKPZtxYtWEQ/9Qtf3XflsimPVXhqHiHO/3C0EARleXyPaUAw8jXioXGeEAoVawTrbnqaSm2ytNCy+IGWDzcY2AQpK3p7giEielR/R2kArafCkn6f7PqCgF6RovdJKAEv97cX7jdMn37Fw0jqFSvJf17clP9gw4x0Vp00JVMI1PE0d38a/yrQ1Yqo5CYa0mLDlflTCrqJyOGs5mfhZ3wuozLZK8h1ZRLB24VLtWokKVmPYKjNyENN/5k2s45q8slmqHDUMcghmQcSeDBgMTiu7+4u1mIywQL7nuExh1uaUEMSSt+iD+RW07HSrZQfwoF7cxaRGTf1cqBXB1OyznIMA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=advantest.com; dmarc=pass action=none
 header.from=advantest.com; dkim=pass header.d=advantest.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=myadvantest.onmicrosoft.com; s=selector1-myadvantest-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=qv/M3erQTxch+NekWyRGCP608Ha1gp21ggc4kxK7fUo=;
 b=Rf8xEUUPqnMuiLcdv7GtAS6iQVUcsZHk73zONShI5sZO5m8sG+1RWUzGr+CSkyGmMTfWYVKJZaxZ70W3UcWo4Fl0PXNBauSJh7f4peCnxVxzIL4zlsxa7Y1APM/GxQSwiqzAo4TK5EtT5rPvPnnWOabad7sA2B9gqVtwJEHpfwo=
Received: from DM6PR05MB4988.namprd05.prod.outlook.com (2603:10b6:5:7d::11) by
 DM6PR05MB4394.namprd05.prod.outlook.com (2603:10b6:5:9f::21) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.3721.11; Mon, 28 Dec 2020 10:41:30 +0000
Received: from DM6PR05MB4988.namprd05.prod.outlook.com
 ([fe80::592a:246d:1eea:791c]) by DM6PR05MB4988.namprd05.prod.outlook.com
 ([fe80::592a:246d:1eea:791c%4]) with mapi id 15.20.3721.019; Mon, 28 Dec 2020
 10:41:29 +0000
From: "Abt, Johannes" <johannes.abt@advantest.com>
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Subject: x2client (mswin32) remote focus change should bring window to front
Thread-Topic: x2client (mswin32) remote focus change should bring window to
 front
Thread-Index: AdbdA/y/8xULTxPoSNKqdH7t/31nnw==
Date: Mon, 28 Dec 2020 10:41:29 +0000
Message-ID:
 <DM6PR05MB4988075D01D28390977509099CD90@DM6PR05MB4988.namprd05.prod.outlook.com>
Accept-Language: de-DE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: bugs.x2go.org; dkim=none (message not signed)
 header.d=none;bugs.x2go.org; dmarc=none action=none
 header.from=advantest.com;
x-originating-ip: [2003:c2:a72d:5900:973:8b7a:3472:20fe]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 6a1abc55-c23c-4efc-4b13-08d8ab1d22d2
x-ms-traffictypediagnostic: DM6PR05MB4394:
x-microsoft-antispam-prvs:
 <DM6PR05MB43941DEE7B0C498A15ECCBBA9CD90@DM6PR05MB4394.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:4303;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info:
 nNqGFgVt0tXBMTkEGJQy2JGt/1vDn5AJF+wb+TXEvJi564JtanLcigGMGeLNpGJ13o3gy2+jv5nrGPcVqdx/MLhmNbj6Mx3Z6fXs3PFdXvFHoKKFuX2w7FpKRtJwozAzdoKvgfe+WFzWciVFbc2gfIdBONisKTH9ZB2fUHvmKxRc31MtQL6MHodzF1P6vzjB/zn89+ejco4qZL5m8tfiWD4/fuwkIj8syd7Qu4FjakaJDsSAeONatNK1A7O/y7iAF5upL6x3/u1iAujtR+DSoxWIedMAVX3iRLCabxgJHTQysVsdUOQ4QOddoXzSR+WjnktvWTDYfBfhTmAANLuFZNLiqhbcmhsPA1y4REJFhFzuuMMYh1TlrTNm9f3e7y651pP48lTUCmrqZsJXRMQMkw==
x-forefront-antispam-report:
 CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR05MB4988.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(366004)(39850400004)(396003)(376002)(346002)(6506007)(66946007)(478600001)(86362001)(5660300002)(186003)(52536014)(83380400001)(7696005)(66446008)(2906002)(316002)(66476007)(66556008)(64756008)(8936002)(71200400001)(6916009)(55016002)(8676002)(9686003)(76116006)(33656002);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata:
 EyeihTf1Hl6xfhB8O+fxm7ipoqDElZpJhvTGw+Qm0ptNDg5gCvDY4e3icpGF63TAYlEU3pSOZcEkANiIoR1Lbv2GoFeC8sMKgwO25bbDWm0fUq+r/nlvjFjBlugyJ1fj2JXli8RQTImwCb3ACeseFA4WuYaZezyFe3PsIMnZ82HVN3nzn98MofOtxglY5XEM+g67dvOTeIMLQSXifRisCtSEGbeUJuMfq8YN7iOhfhIIJv+XRF5RhcEqDL9KJSqydFtwIKHGIvdHdJlRm/s178hEQnZk4DzoebZXyUlnTCMLXeyve/nV8CCrl8Y3ojaZUeH7RDTSIMJ5h6ACNAyv8MhjJ2ud1sgY8JMgbwyt+j/MmemmbGmqMej87LqztALSZtugwhjqHIENWaWOBrzTuqUIy+TkhBLxniN7cNoMoulop0MX0svbae5V7ev/n5ZWfLzPkm2gfPQtZqhKCX1Ar6YImUdDVZ7zjexTZhSM7OwihckWCmAyJLCEYNXk/penTeWtQc+Z20KBdR/m6lTVzvyn7TDg1Y/38/MWBuJ+cTbOc1zxp/fJTaQKNYT+1jvynuIsYBx8fREQoBfy+Lx/7ikiZl49OYPLapXn5e0A/IeKybuS5wMzprWHesxn5wLnSIFQrdAr9OQZnsQFt7Mio4qSjsReURooAKCd/Ud/ef8fMWeJHWPoJcnGI+DiIsKhKnIA8DMA3iHEbjGPFaAw9k2/QFfJwdxEoWpXtaH2Y2EmJfZUzp58ZCgJCRORhHJtSMqmBc6RcgFmOKNANxPOe6subRldmltvXtm2XItuZR33GjgT1E56hiIwjE6DrlvnT/PcJiBq7jt63gjkaHtduH8cyL6dtFnmNnU3Mf1dqaCtNhgKWdYf0o/nOLU8I8TWXQZY4/IK8KabG8jyS6TK5zSA280VVVNHjxYKt1l4W5eBM4DJH3cJjBQA16NkRxinS8JUlIEIeAK/0lcJYTeIzG1KcwY/j0YclQZlCVDZ/6QM+9WnIdTJmR9FpMgGP4sjplFYNC9rMLxCuczUGO2kK8uGkCHL65OuYTZ7c/sbbmM=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: ADVANTEST.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR05MB4988.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6a1abc55-c23c-4efc-4b13-08d8ab1d22d2
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2020 10:41:29.8154
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: b0de9dff-4833-4d4f-b442-1e0dbfae2ec8
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: SWl4/ikOjcvp7MwvOpZUkRtZJXBc5xVuzOYI75++56bLXokJrR9a9WGspINNEgIvB0Y/BvWvBA0lw2L4ZJ5va+eBsckexBfZNhtctAZYkTI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4394
Package: x2goclient
Version: 4.1.2.2

When a remote program changes the focus, the x2go client window fails to bring  the focused window to the front. As a consequence, when I start typing, the text appears in a background window. As a consequence, usually, you do not see the text that you type.

Steps to reproduce:
* use x2goclient (mswin32) to start a custom ("/usr/bin/konsole") remote session on RHEL7.4 (x2goserver-4.1.0.3-0.el7.x86_64, same version for x2goagent).
* inside "konsole", start "code" (Visual Studio Code) => Visual Studio Code window opens in front and gets focus; konsole looses focus (cursor transforms from solid rectangle to empty/hollow rectangle; subsequent keystrokes go to "code" window
* move windows make "code" and "konsole" overlap a little bit so you can see with window is in front
* click into "konsole window" => "code" looses focus; "konsole" moves to front; "konsole" gets focus and receives subsequent keystrokes
* enter "code foobar" and press the enter key
* enter some text in order to see which window has got the focus

Expected behaviour for last step:
Either (preferred):
* "code" moves to front and gets the focus; konsole loses the focus
or:
* "konsole" keeps the focus and stays in front

Consistency is key.

Observed behaviour:
* "konsole" loses the focus and stays in front
* "code" gets the focus but stays in the background






Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:35:30 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.