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 11:35:02 +0000
Resent-Message-ID: <handler.580.B.140853424032291@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 580
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.140853424032291
          (code B); Wed, 20 Aug 2014 11:35:02 +0000
Received: (at submit) by bugs.x2go.org; 20 Aug 2014 11:30:40 +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 86D2E5DB17
	for <submit@bugs.x2go.org>; Wed, 20 Aug 2014 13:30:39 +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 86BB21843;
	Wed, 20 Aug 2014 13:30:38 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id D65E13BBED;
	Wed, 20 Aug 2014 13:30:38 +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 hwvkyDV6XyuC; Wed, 20 Aug 2014 13:30:38 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 8889A3BBE4;
	Wed, 20 Aug 2014 13:30:38 +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 11:30:38 +0000
Date: Wed, 20 Aug 2014 11:30:38 +0000
Message-ID: <20140820113038.Horde.nxZX40c_5mChTlpDNOXYjQ1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Cc: o.schneyder@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="=_njkieHmQ7qwR8WDiJe5HhQ1";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0
[Message part 1 (text/plain, inline)]
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")?

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

Mike

PS: If/Once you fix this, please remember to close this bug with your  
commit. Thanks!
-- 

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: Sun Nov 24 07:14:34 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.