X2Go Bug report logs - #580
X2Go Client writes Qt class names to .x2goclient/sessions

version graph

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

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Wed, 20 Aug 2014 11:35:02 UTC

Severity: important

Tags: pending

Found in version

Fixed in version

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log

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

Received: (at 580) by bugs.x2go.org; 20 Aug 2014 12:38:59 +0000
From mike.gabriel@das-netzwerkteam.de  Wed Aug 20 14:38:58 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 7D7865DB17
	for <580@bugs.x2go.org>; Wed, 20 Aug 2014 14:38:58 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 8735932AC;
	Wed, 20 Aug 2014 14:38:57 +0200 (CEST)
Received: from localhost (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 096B83BBEE;
	Wed, 20 Aug 2014 14:38:58 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([])
	by localhost (grimnir.das-netzwerkteam.de []) (amavisd-new, port 10024)
	with ESMTP id 8Ln7nnxp0ruK; Wed, 20 Aug 2014 14:38:57 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id C34633BBED;
	Wed, 20 Aug 2014 14:38:57 +0200 (CEST)
Received: from m-031.informatik.uni-kiel.de (m-031.informatik.uni-kiel.de
 []) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Wed, 20 Aug 2014 12:38:57 +0000
Date: Wed, 20 Aug 2014 12:38:57 +0000
Message-ID: <20140820123857.Horde.vtlMVcsmpO2Re7oTgymLvQ1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
Cc: 580@bugs.x2go.org
Subject: Re: X2Go Client writes Qt class names to .x2goclient/sessions
References: <20140820113038.Horde.nxZX40c_5mChTlpDNOXYjQ1@mail.das-netzwerkteam.de>
In-Reply-To: <53F48C5C.3000901@phoca-gmbh.de>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.0)
Accept-Language: en,de
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101
 Firefox/31.0 Iceweasel/31.0
Content-Type: multipart/signed; boundary="=_ln855pdlUrMrk74UPkDTeQ1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Alex,

(Keeping your message unshortened to make sure all information is  
included with the history of bug #580 in BTS).

On  Mi 20 Aug 2014 13:54:04 CEST, Oleksandr Shneyder wrote:

> Hi Mike,
> Am 20.08.2014 13:30, schrieb Mike Gabriel:
>> Package: x2goclient
>> Severity: important
>> Version:
>> Hi Alex,
>> the new folder browser implementation in X2Go Client writes QtByteArray
>> objects to .x2goclient/sessions.
>> """
>> [General]
>> TEST_FOLDER=ByteArray()
>> [<sessionid1>]
>> ...
>> """
>> This information cannot be handled by PyHoca-GUI / Python X2Go. I
>> understand that this is needed to store empty folder icons in the
>> sessions file.
>> To reproduce...
>>  1. create a session profile in the base folder
>>  2. create a new folder and place the above session into that folder
>>  3. after I have created that folder, the above TEST_FOLDER entry under
>> General appears
>>  4. if I then add an icon to that folder, the ByteArray gets filled with
>> content.
>> All this information can only be handled via Qt applications. Is it
>> possible to write the information in a different format? E.g. base64
>> encoded string (raw image data) + the file format (-> "<base64data>.png")?
> Yes, it is possible. I'll check if I have a time to do this till weekend.


>> A change of this approach before release will be highly
>> appreciated...
>> Also we should not use [General] here as the ini file section. How
>> about: [Folders] or [SessionFolders]?
> No, it is the only way to keep compatibility with older versions of X2Go
> client. All groups in ini file identified from client as sessions. If we
> save the icons in group "Folder", older versions of x2go client will
> identify this group as session with id "Folder". Save this icons in
> other ini file is not an option neither (x2gobroker)

Ah, ok. Good point. Agreeing here. I wonder if we should prefix the  
folder name by something:


-> SessionsFolder::TEST_FOLDER=<data>.<format>

Or something like that...

Also: So, if there is an ini section named [General], it should get  
ignored by Python X2Go, right?


mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.

X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Jun 14 11:20:57 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.