X2Go Bug report logs - #1172
ThunderBird crashes in PubApp mode on amd64

Package: nx-libs; Maintainer for nx-libs is X2Go Developers <x2go-dev@lists.x2go.org>;

Reported by: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Date: Fri, 5 May 2017 14:40:02 UTC

Severity: normal

Full log

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

Received: (at 1172) by bugs.x2go.org; 26 Sep 2017 12:14:37 +0000
From ulrich.sibiller@gmail.com  Tue Sep 26 14:14:33 2017
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,FREEMAIL_FROM,URIBL_BLOCKED autolearn=ham autolearn_force=no
Received: from localhost (localhost [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 73D095DACF
	for <1172@bugs.x2go.org>; Tue, 26 Sep 2017 14:14:33 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([])
	by localhost (ymir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id 0SwgRxCZxl3e for <1172@bugs.x2go.org>;
	Tue, 26 Sep 2017 14:14:28 +0200 (CEST)
Received: from mail-ua0-x235.google.com (mail-ua0-x235.google.com [IPv6:2607:f8b0:400c:c08::235])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 612505DA81
	for <1172@bugs.x2go.org>; Tue, 26 Sep 2017 14:14:28 +0200 (CEST)
Received: by mail-ua0-x235.google.com with SMTP id c27so6303352uah.2
        for <1172@bugs.x2go.org>; Tue, 26 Sep 2017 05:14:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
X-Gm-Message-State: AHPjjUgnIp2TNct+2UKYcrfuZti7zHEw/H7n1DhRPJOza1G/Z75EAass
X-Google-Smtp-Source: AOwi7QAEcBSPF3wDqndOXaHIgcEg84LDLM7gj9+XUFfUc4DaJC79E2zXwYsiXWst2ncfyResmI9aLFn8uXz+7nbsjWw=
X-Received: by with SMTP id p42mr10427531uae.127.1506428067201;
 Tue, 26 Sep 2017 05:14:27 -0700 (PDT)
MIME-Version: 1.0
Sender: ulrich.sibiller@gmail.com
Received: by with HTTP; Tue, 26 Sep 2017 05:14:06 -0700 (PDT)
In-Reply-To: <CANVnVY+DjDB346LRKifoR_7KYNnAH4opC12w-WajzJV_G7R80Q@mail.gmail.com>
References: <9c4f4c5c-0338-cc06-d057-6eec833e8190@baur-itcs.de>
 <e89eb747-f0b8-f660-bfb8-18f29b315cb0@baur-itcs.de> <CANVnVY+DjDB346LRKifoR_7KYNnAH4opC12w-WajzJV_G7R80Q@mail.gmail.com>
From: Ulrich Sibiller <uli42@gmx.de>
Date: Tue, 26 Sep 2017 14:14:06 +0200
X-Google-Sender-Auth: xnpgZxleToEptK_pSfuAiGBBhO0
Message-ID: <CANVnVY+gXV1da7jHQ8dVLm8X5iPCBVEP_vkOtwE1ax45AcqrEw@mail.gmail.com>
Subject: Fwd: Modifier Keys not working as expected
To: 1172@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
On Tue, Sep 26, 2017 at 1:57 PM, Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
> Am 26.09.2017 um 12:20 schrieb Ulrich Sibiller:
>>> A certain application requires the following keypresses:
>> 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
>> 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.

No, it's the other way round. The X server gets the keypresses and
passes them on to the client(s). This application probably instructs
the xserver to send these keys only to the app and not to anyone else
(and neither interpret them itself).

https://tronche.com/gui/x/xlib/input/XGrabKeyboard.html states this:

The XGrabKeyboard() function actively grabs control of the keyboard
and generates FocusIn and FocusOut events. Further key events are
reported only to the grabbing client. [...]

If the keyboard_mode argument is GrabModeAsync, keyboard event
processing continues as usual. If the keyboard is currently frozen by
this client, then processing of keyboard events is resumed. If the
keyboard_mode argument is GrabModeSync , the state of the keyboard (as
seen by client applications) appears to freeze, and the X server
generates no further keyboard events until the grabbing client issues
a releasing XAllowEvents() call or until the keyboard grab is
released. Actual keyboard changes are not lost while the keyboard is
frozen; they are simply queued in the server for later processing.

>> 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.

I can do that eventually.


Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Dec 7 11:12:29 2023; 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.