X2Go Bug report logs - #1200
Double clicks not recognized in Qt(4?/5?) applications

version graph

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

Reported by: Bruno CAPELETO <bruno.capeleto@abcreseau.com>

Date: Thu, 10 Aug 2017 10:25:01 UTC

Severity: normal

Tags: build-win32

Found in version 4.1.0.0

Full log


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

Received: (at 1200) by bugs.x2go.org; 11 Aug 2017 03:38:37 +0000
From ionic@ionic.de  Fri Aug 11 05:38:32 2017
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.2 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,RDNS_NONE,SPF_HELO_PASS autolearn=no
	autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id C8A2C5DACC
	for <1200@bugs.x2go.org>; Fri, 11 Aug 2017 05:38:32 +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 460dqLhjc3VG for <1200@bugs.x2go.org>;
	Fri, 11 Aug 2017 05:38:19 +0200 (CEST)
X-Greylist: delayed 539 seconds by postgrey-1.35 at ymir.das-netzwerkteam.de; Fri, 11 Aug 2017 05:38:18 CEST
Received: from Root24.de (unknown [IPv6:2001:41d0:a:588b:1::2])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id EC0115DA2B
	for <1200@bugs.x2go.org>; Fri, 11 Aug 2017 05:38:18 +0200 (CEST)
Received: from [10.20.16.30] (178.162.222.163.adsl.inet-telecom.org [178.162.222.163])
	by mail.ionic.de (Postfix) with ESMTPSA id BD7C14F0065B;
	Fri, 11 Aug 2017 05:29:17 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1502422157; bh=6cZgbJCuQs2AwXaS2NHq3jM0SjdBN+5xEyEpo4bcHKw=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=Nk8zCjSZ+RVcSizQMEFrL9NhWkbv0KU6gqV9mp1VDIC/VwppfTOfWFMLZtcEM8h0b
	 c1gIeflmL4QFMFZLFrd23lg1B8deQesJ8WvRxNutjzMCi43sd0PpGNyEHZCYL2DUJH
	 +7fECkbbvhjlrdIOr3zG3hF0VtWUI0LrauEGuobM=
Subject: Re: [X2Go-Dev] Environment variables not set
To: Bruno CAPELETO <bruno.capeleto@abcreseau.com>, 1200@bugs.x2go.org
References: <CABa3fk4QCDwjuqZbXPzMWDqd0vrpJGVYAEZzm1VBKoAis8n=zg@mail.gmail.com>
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <5e2e5f4b-b445-09d5-1834-ad53f845a03e@ionic.de>
Date: Fri, 11 Aug 2017 05:29:13 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <CABa3fk4QCDwjuqZbXPzMWDqd0vrpJGVYAEZzm1VBKoAis8n=zg@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="J4afxqEXmb9rWpV6m3HgrfeKBvIlkkwGT"
[Message part 1 (text/plain, inline)]
Control: reassign -1 x2goserver 4.0.1.20

First of all, x2goserver 4.0.1.20 actually is the correct stable release.
4.1.0.0 are the current nightly releases.

I personally don't care much about what version is tested, but knowing whether
there's a difference in behavior between the stable and nightly versions is
certainly helpful.


On 08/10/2017 12:24 PM, Bruno CAPELETO wrote:
> Package: <x2goserver> Version: <4.0.1.20-0x2go1+git20170412.1125+9.main.1>
> 
> # uname -a Linux mtcie1 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1
> (2017-06-18) x86_64 GNU/Linux
> 
> 
> 
> The below bugs are most probably related to each other, that's why I open
> one case for all of them.
> 
> The issues are the following : I want to use the French software Laurux,
> which is based on Gambas interpreter, via a x2go session running on a Debian
> 9 server running LXDE (same issues seen on an Ubuntu server, x2goserver
> version = 4.0.1.20-0~1125~ubuntu14.04.1)..
> 
> As a prerequisite, the software is installed on the server and runs well on
> a local session.
> 
> 1. Whatever the client (Windows or Linux 4.0.3.1-4), the local environment 
> variables are not set properly and the software - which needs French 
> localization - crashes. That could be "solved" the following way : 
> /etc/x2go/Xsession :
> 
> ... LANG=fr LC_ALL=fr_FR.UTF-8 export LANG export LC_ALL ...
> 
> That seems to be a revival of older bugs, but it is definitely still here.

How exactly did you set the locale?

The "Debian way" would be to run dpkg-reconfigure locales as root and select the
desired locale(s) to generate and then select the default one.

/etc/environment should not contain any locale settings.

LANGUAGES and especially LC_ALL should normally not be set. LANGUAGES is a
GNU-only list of fallback locales. LANG is the preferred way to set the locale,
since it's being used if all of the LC_* env variables are empty.
"dpkg-reconfigure locales" will do the right thing™.


> 2. At the start of a new session, one gets a windows with an error message
> "No session for pid ..." ; that bug has already been reported several times
> in x2go bug tracking and marked as solved. Actually it is not on my brand new
> system.

What session are you starting exactly? I cannot find the string "No session for
pid" in x2goserver's source code. Not sure what to do with this.


> 3. The single application mode does not work with some of the applications, 
> including that Laurux / Gambas. For example it works with /usr/bin/leafpad,
> but /usr/bin/libreoffice makes the x2go session crash.

That's certainly possible. The most likely cause, as Uli explained, is that the
command daemonizes itself right after launching it. This leads to the X2Go
scripts assuming that the program exited and subsequently also terminating the
session. We've seen such behavior every now and then and worked around it.

However, it looks like x2goagent is crashing when you start libreoffice in your
case. That shouldn't happen. My gut feeling is that this might be another GTK3
incompatibility.

I could try to reproduce this in a clean stretch VM.


> 4. The mouse double clic does not work in a x2go session, but only - within
> the Gambas software (works well for example when launching an application)
> and only - when the x2go client is running in a Windows environment (no
> problem when client in a Linux environment)

That sounds like Gambas is doing something funny, though. As far as I was able
to gather, Gambas seems to be using Qt5 as its drawing toolkit.

The package qtbase5-examples should contain a binary at
/usr/lib/x86_64-linux-gnu/qt5/examples/widgets/widgets/mousebuttons/mousebuttons
which spits out received mouse events.

Can you try that - especially with double clicking - and see what it outputs?



Mihai

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


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