From unknown Wed Apr 08 16:42:50 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#725: client-side printing terminates X2Go Client (+ running session) in certain cases
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 725@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: Thu, 08 Jan 2015 15:10:01 +0000
Resent-Message-ID: <handler.725.B.142072977516722@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 725
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.142072977516722
          (code B); Thu, 08 Jan 2015 15:10:01 +0000
Received: (at submit) by bugs.x2go.org; 8 Jan 2015 15:09:35 +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,URIBL_BLOCKED
	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 AE0665DB53
	for <submit@bugs.x2go.org>; Thu,  8 Jan 2015 16:09:33 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 221352F52
	for <submit@bugs.x2go.org>; Thu,  8 Jan 2015 16:09:33 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 109383C1FE
	for <submit@bugs.x2go.org>; Thu,  8 Jan 2015 16:09:33 +0100 (CET)
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 mdHLH+oe9iUt for <submit@bugs.x2go.org>;
	Thu,  8 Jan 2015 16:09:32 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id CD6763BB45
	for <submit@bugs.x2go.org>; Thu,  8 Jan 2015 16:09:32 +0100 (CET)
Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de
 [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Thu, 08 Jan 2015 15:09:32 +0000
Date: Thu, 08 Jan 2015 15:09:32 +0000
Message-ID: <20150108150932.Horde.lARA1h4mZZfLgCTUwBWhXA2@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 178.62.101.154
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_d6nVkapiBnoCbQIIlbdX9g7";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

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

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

Package: x2goclient
Severity: grave
Tag: patch

I have just found a patch for X2Go upstream bug #702 [1]:

What I do:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  o I launch an X2Go session with X2Go Client, client-side printing=20=20
support=20is enabled
  o I minimize X2Go Client to the systray icon
  o I configure X2Go Client to show the print dialog window on=20=20
incoming=20print jobs
  o I print a document inside the X2Go session


What happens:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The print dialog window appears. I select "Print"...

X2Go Client simply exits cleanly immediately when I click the Print=20=20
button=20of the print dialog window.

The issue occurs in this combination of events:

   o print dialog appears on incoming print job
   o it doesn't matter what print action is chosen
     (pdfview, pdfsave, print, etc.)
   o X2Go Client's main window is hidden (e.g.
     via clicking on the tray icon)

What should happen:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

The incoming print job should get shown as PDF or printed (whatever I=20=20
chose=20in the print dialog window). The print dialog window should=20=20
disappear,=20my remote X2Go session should continue...


The issue is related to this:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D

http://stackoverflow.com/questions/5116459/problem-with-hidden-qmainwindow-=
application-crashes-after-qmessagebox-is-displa

The related upstream patch is this:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
   http://code.x2go.org/gitweb?p=3Dx2goclient.git;a=3Dcommitdiff;h=3D3008b2=
a


I am still waiting for feedback from another upstream dev, once it is=20=20
there,=20I will fix the issue in the x2goclient src:package in Debian=20=20
unstable=20and hopefully testing (jessie).

Mike

[1] http://bugs.x2go.org/702

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

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

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

iQIcBAABAgAGBQJUrp2sAAoJEJr0azAldxsxaWsP/3xL4ImhRqsq8iArzSR5mvvj
e4krCZLB6ONILptNSNQKkk2Ck8DN0x17YVxcEzoNNbZX/3jqUS88hnZ8eMqIMtBF
5iMsf60cyf16HzubeWwLCRNOfEaPWOENAE+mQbwIZymz0CD2MqI18mwQWzb7zKc2
UjZSvmYO7IOOXE94RyKK9r8BFd/VVEonYSM9KWFnF89Ll5zsfe1vdu2snxTmBQOu
kg+1TVq1Xm6KyFSaMBgumYfCS+hcdJnaA5XMTj/5mZlMbr5xMHgvqJSy7VPsWuZ/
0t9dV9/aSBx2Spzv5HSGB/wSZzDKzGCf+oKEyj1Qi7SwrAN/HshI6fr6G/WpIBWW
dmoNlJlFkwDZLnA98rU3yoYFbsOPSkC3r76Jv8B3b3eZQc6QDiltp3w+TZVZFGEn
LTWf2y2pRJoSwABMHiTmxBlaxvcc6IaZV1q7PRC/N3mrIFFIQB5rP3mIY2FKryVD
DBxT2/qke4zhPnLXecBck5iGCmZs7qhj8I984Zws6omMR+tXB0uaETXZDuGuNRtf
ajzBfXOMXES6XNQovnJwekhl1Pq4xkvw3IfvCRAHf02YTnfygaRM3CazrVCtw4WW
mzuK8Y+p/s8zvScAWBOPkWEYoeYrTtMzNDqdvGeN9RJsser11CBFO/LPsNDJp+MX
+9Q/rc9L+MQqqkfcJ7Yb
=MgG1
-----END PGP SIGNATURE-----

--=_d6nVkapiBnoCbQIIlbdX9g7--
