From unknown Mon Apr 13 03:47:35 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#183: [PATCH] Fix auto resume when session type is "Single application"
Reply-To: Ezra Buehler <lists@easyb.ch>, 183@bugs.x2go.org
Resent-From: Ezra Buehler <lists@easyb.ch>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: owner@bugs.x2go.org
Resent-Date: Sun, 21 Apr 2013 15:33:02 +0000
Resent-Message-ID: <handler.183.B.13665583245171@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 183
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: patch
Received: via spool by submit@bugs.x2go.org id=B.13665583245171
          (code B); Sun, 21 Apr 2013 15:33:02 +0000
Received: (at submit) by bugs.x2go.org; 21 Apr 2013 15:32:04 +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=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW
	autolearn=ham version=3.3.2
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49])
	by ymir (Postfix) with ESMTPS id A66795DB20
	for <submit@bugs.x2go.org>; Sun, 21 Apr 2013 17:32:02 +0200 (CEST)
Received: by mail-wg0-f49.google.com with SMTP id x12so517690wgg.4
        for <submit@bugs.x2go.org>; Sun, 21 Apr 2013 08:32:02 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=google.com; s=20120113;
        h=x-received:from:content-type:subject:message-id:date:to
         :mime-version:x-mailer:x-gm-message-state;
        bh=cCw78KCWKqu8XW2/DTut3z6wWPqjVe/hzK1EYYcslmE=;
        b=aX60dgRKMWXXfF0fCtByIZSvI9flsZS0t4QrCb33iJOgw5qoeYbICl5YAEQg+oJ3K1
         D+a7vaeeO1d8iiCAURous35tWm0KpT17WmK/dgZk6TKMlyyXGmtglXeDb2IFSaB7PLl4
         dNedk5SK4b1Rc1M41J8v82h5f2SDEpZ1Etb4e1WyLeU0UQTBz7Fi9ab6T7aYP1VbF4r+
         gchapL2PrJGlEP3dj0wry2364v4cTE/IhNt5dqknQLjAhNks+6vlzWyfgIGHnh60GUuY
         vxL/xqLM4Xtz57c2ZlMqzCfitQ50HUlQ3DQG3FWdgUBgXESvItHVMY0sM8cc6WFM+S1g
         OoDw==
X-Received: by 10.194.176.195 with SMTP id ck3mr22450066wjc.5.1366558322349;
        Sun, 21 Apr 2013 08:32:02 -0700 (PDT)
Received: from [10.0.0.4] (46-127-89-101.dynamic.hispeed.ch. [46.127.89.101])
        by mx.google.com with ESMTPS id bk42sm35359719eeb.3.2013.04.21.08.32.01
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sun, 21 Apr 2013 08:32:01 -0700 (PDT)
From: Ezra Buehler <lists@easyb.ch>
Content-Type: multipart/mixed; boundary="Apple-Mail=_664505E1-0044-4779-B7D1-5B0C29333787"
Message-Id: <A498575E-05F2-4635-91E7-9B9CEC410898@easyb.ch>
Date: Sun, 21 Apr 2013 17:32:00 +0200
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
X-Mailer: Apple Mail (2.1503)
X-Gm-Message-State: ALoCoQkxzkavVA/wSlMJayVymmjeq22X5A7Vh/UU/xqh894WbFlThobqK26oQ/hQ8Nfbd6uwQtr8


--Apple-Mail=_664505E1-0044-4779-B7D1-5B0C29333787
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Package: x2goclient
Severity: normal
Version: HEAD
Tags: patch

Hi again,

it turns out that a feature I was longing for was actually present all =
along but is broken for our setup.
This patch fixes the issue that one must select a session to resume =
although there is only one choice.
The problem only occurs when one has selected "Single application" as =
the session type and given
the full path to the application.=20

Cheers,
Ezra.


--Apple-Mail=_664505E1-0044-4779-B7D1-5B0C29333787
Content-Disposition: attachment;
	filename=0001-Fix-auto-resume-when-session-type-is-Single-applicat.patch
Content-Type: application/octet-stream;
	name="0001-Fix-auto-resume-when-session-type-is-Single-applicat.patch"
Content-Transfer-Encoding: quoted-printable

=46rom=2074d3079a6e309c51f4f6fdf13f63c119aaf0a6e9=20Mon=20Sep=2017=20=
00:00:00=202001=0AFrom:=20Ezra=20Buehler=20<spam@easyb.ch>=0ADate:=20=
Sun,=2021=20Apr=202013=2016:52:29=20+0200=0ASubject:=20[PATCH]=20Fix=20=
auto=20resume=20when=20session=20type=20is=20"Single=20application"=0A=0A=
---=0A=20onmainwindow.cpp=20|=20=20=20=202=20+-=0A=201=20file=20changed,=20=
1=20insertion(+),=201=20deletion(-)=0A=0Adiff=20--git=20=
a/onmainwindow.cpp=20b/onmainwindow.cpp=0Aindex=2031dbc17..de50dae=20=
100644=0A---=20a/onmainwindow.cpp=0A+++=20b/onmainwindow.cpp=0A@@=20=
-2654,7=20+2654,7=20@@=20void=20ONMainWindow::slotSelectedFromList=20(=20=
SessionButton*=20session=20)=0A=20=20=20=20=20=20=20=20=20=
currentKey=3Dconfig.key;=0A=20=20=20=20=20}=0A=20=0A-=20=20=20=20=
selectedCommand=3Dcommand;=0A+=20=20=20=20=
selectedCommand=3Dcommand.split("/").last();=0A=20=20=20=20=20=
command=3DtransAppName=20(=20command=20);=0A=20=20=20=20=20=
login->setText=20(=20userName=20);=0A=20=20=20=20=20QPixmap=20pix=20(=20=
sessIcon=20);=0A--=20=0A1.7.9.6=20(Apple=20Git-31.1)=0A=0A=

--Apple-Mail=_664505E1-0044-4779-B7D1-5B0C29333787--
