X2Go Bug report logs - #927
copy on select overrides Windows clipboard

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Walid MOGHRABI <w.moghrabi@servicemagic.eu>

Date: Mon, 24 Aug 2015 14:00:02 UTC

Severity: normal

Tags: pending

Found in version 4.0.5.0

Fixed in version 4.0.5.1

Done: X2Go Release Manager <git-admin@x2go.org>

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#927: [X2Go-Dev] Bug#927: copy on select overrides Windows clipboard
Reply-To: Ulrich Sibiller <uli42@gmx.de>, 927@bugs.x2go.org
Resent-From: Ulrich Sibiller <uli42@gmx.de>
Original-Sender: ulrich.sibiller@gmail.com
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 01 Sep 2015 14:35:02 +0000
Resent-Message-ID: <handler.927.B927.144111799424902@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 927
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 927-submit@bugs.x2go.org id=B927.144111799424902
          (code B ref 927); Tue, 01 Sep 2015 14:35:02 +0000
Received: (at 927) by bugs.x2go.org; 1 Sep 2015 14:33:14 +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,FREEMAIL_FROM,
	T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable version=3.3.2
Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 69CF75DA83;
	Tue,  1 Sep 2015 16:33:04 +0200 (CEST)
Received: by lbcjc2 with SMTP id jc2so850550lbc.0;
        Tue, 01 Sep 2015 07:33:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:sender:in-reply-to:references:from:date:message-id
         :subject:to:cc:content-type:content-transfer-encoding;
        bh=dUHRDfLpC29gsQS/zIN2Wd79D+l+zdgGc8sO38qzqfQ=;
        b=EjdfCUxDjwjWsAyk0jI+bzAXuWmGwlRGo//sbT/dK+TxRvVuS1jfy/FstK5yD/GhQQ
         wj3bOb0cJZXknGgdsucSAcxPF7yNPn6Ek0vtu9EUakXP3G/q8OmV8Jg7fRa6q/UK2rGa
         riUe75k7sJk1iemmyZsJT5PTRWOzIZqJLeIPyF0pXcP2tCtpI/B4Tl/LDPiC0xcbrNvq
         qGtA0BlE/+zyhW5ngQOiVQ/SBIw7yDAmVDkNgHq4Bdxy+zuc24B0ABRPfqNf8eKyoriw
         2RcwG7eP0XFmD5h2reLDJYWaJ8jSswAGQRpfYkS18MktaFVQh+1YlCSzhcbI9gWD/a16
         gxeg==
X-Received: by 10.152.20.170 with SMTP id o10mr12909275lae.109.1441117983259;
 Tue, 01 Sep 2015 07:33:03 -0700 (PDT)
MIME-Version: 1.0
Sender: ulrich.sibiller@gmail.com
Received: by 10.112.138.232 with HTTP; Tue, 1 Sep 2015 07:32:43 -0700 (PDT)
In-Reply-To: <557997538.31983173.1440424349581.JavaMail.root@servicemagic.eu>
References: <1631960459.19638331.1437040276514.JavaMail.root@servicemagic.eu> <557997538.31983173.1440424349581.JavaMail.root@servicemagic.eu>
From: Ulrich Sibiller <uli42@gmx.de>
Date: Tue, 1 Sep 2015 16:32:43 +0200
X-Google-Sender-Auth: rtnPj0fiZJcHnDutYVMY-Zk23V8
Message-ID: <CANVnVYKqMqwp6peayTCmzAU5Gq_pqaoKgEb4s89tCJKnz-NSug@mail.gmail.com>
To: Walid MOGHRABI <w.moghrabi@servicemagic.eu>, 927@bugs.x2go.org
Cc: submit@bugs.x2go.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Mon, Aug 24, 2015 at 3:52 PM, Walid MOGHRABI
<w.moghrabi@servicemagic.eu> wrote:
> Package: x2goclient
> Version: 4.0.5.0
>
> There is a problem when using a x2go session (in both "Publisshed apps" or "Desktop / MATE" mode ... didn't tried on other desktops) and trying to do
bidirectional copy/paste from a Windows client (Windows 7 SP1 /
x2goclient 4.0.5.0).
> It seems that the "copy on select" features is overriding the primary clipboard which makes the copy/paste pretty difficult if not impossible.
>
> How to reproduce :
>
> Local : Windows 7 SP1 / x2goclient 4.0.5.0 in Published Apps ou MATE Desktop mode (but windowed or fullscreen on 1 dedicated screen, not complete fullscreen)
> Remote : Ubuntu 14.04 / MATE Desktop with x2goserver 4.0.5.0 and x2gomate-bindings
>
> From Windows, copy some text in Notepad then, on your x2go session (let's say with Pluma or Gedit), select some text you want to replace (just select, not copy) and try to do a paste, that won't work and your clipboard now contains the text that has been selected in the x2go session.

Just to be sure: What exactly do you refer to as clipboard here? In
X11 we have PRIMARY and CLIPBOARD, in Windows we have only one
Clipboard.

> You can even paste it in Windows (but strangely, not in Linux where the clipboard seems empty).

How do you paste in Linux? Middle mouse button or selecting "Paste"
from some menu?

> This is very very annoying especially for our use case where our x2go sessions are used as developpers sessions in Published Apps mode and they do plenty of copy/paste all day long.
> We moved recently to this infrastructure but this doesn't help its acceptancy due to this bug.
>
> I tried to check the "do not use primary clipboard" in the client preferences but this makes the xserver fails to start (see bug #906), I even tried to add the -noprimary or the -noclipboardprimary that are described here (http://code.x2go.org/vcxsrv?p=vcxsrv.git;a=blob;f=xorg-server/hw/xwin/InitOutput.c;h=5a3d80f7fe17d2e81f634ba80d0494451653b637;hb=934184bfecd402aae891b8740d788b486aa7269f#l722) but that dosn't work either, it seems these options are in the usage help message but are not supported at all so I don't know if using them is helping or not.

I have changed/fixed the clipboard code in NX  some months ago. Does
downgrading to nx-libs 3.5.0.27 change the behaviour? Maybe I broke
something...

Also, do you have any clipboard manager running in the MATE session?

And it would help to know if this happens for other desktops, too.

Uli

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 13:14:42 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.