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 4.0.3.0-preview

Fixed in version 4.0.3.0

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

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#580: X2Go Client writes Qt class names to .x2goclient/sessions
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 580@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 20 Aug 2014 12:40:01 +0000
Resent-Message-ID: <handler.580.B580.140853833918952@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 580
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 580-submit@bugs.x2go.org id=B580.140853833918952
          (code B ref 580); Wed, 20 Aug 2014 12:40:01 +0000
Received: (at 580) by bugs.x2go.org; 20 Aug 2014 12:38:59 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham
	version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	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 [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 8735932AC;
	Wed, 20 Aug 2014 14:38:57 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	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 ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 8Ln7nnxp0ruK; Wed, 20 Aug 2014 14:38:57 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	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
 [134.245.254.31]) 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
References: <20140820113038.Horde.nxZX40c_5mChTlpDNOXYjQ1@mail.das-netzwerkteam.de>
 <53F48C5C.3000901@phoca-gmbh.de>
In-Reply-To: <53F48C5C.3000901@phoca-gmbh.de>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.0)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 134.245.254.31
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: 4.0.3.0-preview
>>
>> 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.

THANKS!!!

>> A change of this approach before 4.0.3.0 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:

TEST_FOLDER=<data>.<format>

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

Greets,
Mike
-- 

DAS-NETZWERKTEAM
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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[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 13:33: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.