From mike.gabriel@das-netzwerkteam.de  Wed Aug 20 14:38:58 2014
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
Subject: Re: X2Go Client writes Qt class names to .x2goclient/sessions
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

This message is in MIME format and has been PGP signed.

--=_ln855pdlUrMrk74UPkDTeQ1
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Alex,

(Keeping your message unshortened to make sure all information is=20=20
included=20with 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=3DByteArray()
>>
>> [<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=20=20
folder=20name by something:

TEST_FOLDER=3D<data>.<format>

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

Or something like that...

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

Greets,
Mike
--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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.x=
fb

--=_ln855pdlUrMrk74UPkDTeQ1
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJT9JbhAAoJEJr0azAldxsxucUQAIAAskFeMqbhRmcC47T5GLLh
1DP2KsBcj7xLe6hHpKI3y/nKK8VuQRZwMi+y4+eLMz6atj4Cr5/GGXI9ePNH7h94
bRT4d1HgKiJBjkj738Qif7q9jZSGKVeuSk2hI1gQIbBJlPIFOmF7UhhX9LdpPYEE
UWEjs22LWe5QQeV76BNIEYOXA/VKqRtxXGsrfBjfAb+uEqhgtnTDb7UpvtgqkLTM
UqtPTDGGINRuddwocUZsd7R4dS0sn0wKK9su/qruAK/+vp/x0fjAN3n+eBqAZf7g
/tmqbrOsO73K8T8pghL7RfnjMYy24/8yiLojR6rLQFvdC1xd9VpQeT0hJFMY8nRf
dwDC+YzW3cruTx2dCPhsviicfq0YV1CAvF/gmAP7XIiaI9GgOunvIaeOwC2xF9zx
Wb9Oi48ifUvMvL8O2W3gxQpZNxHhchhQykst/rlYLExOvNkOQ4ZF5RdOfoSHVuUa
aufOvOhI9MW2lzqGb32BZ46LPMJZLjjCHBiTaHW16D++KFQ2JMIqGRQ8oSJ8LKNG
IcrsyoOz1kHvVA48oreY8Fe8n0WE9EKwc1OaP7VE8+ZteCWTI0JzYfezU/03pl3m
zbXcQ2vxaCdoqIOAUIMuDCWvoPdY0KYgcqwocbs368SrfAa/2NcKP3qc24KbF/dW
MwDPDPqTlJX3UM09aoiw
=EX9E
-----END PGP SIGNATURE-----

--=_ln855pdlUrMrk74UPkDTeQ1--

