X2Go Bug report logs -
#927
copy on select overrides Windows clipboard
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
Message #25 received at 927@bugs.x2go.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
A little "up" on this bug ... this is very very annoying for us and generate angryness against x2go which is unfair because this solution gives us so much more value added feature than before but every users are focusing on this one bug because it affect their work all day long.
We're willing to push that as much as we can and we're ready to help as much as we can also.
We are ready to pay if necessary to put that bugfix on top of the list so please, tell me if this bug is going to be fixed soon :(
Best regards,
Walid MOGHRABI
Exploitation / Operation
Id SKYPE : walid_smagic
----- Mail original -----
De: "Walid MOGHRABI" <w.moghrabi@servicemagic.eu>
À: "Ulrich Sibiller" <uli42@gmx.de>
Cc: submit@bugs.x2go.org, 927@bugs.x2go.org
Envoyé: Vendredi 4 Septembre 2015 12:12:47
Objet: Re: [X2Go-Dev] Bug#927: copy on select overrides Windows clipboard
> 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.
> How do you paste in Linux? Middle mouse button or selecting "Paste" from some menu?
All of them.
In Windows there is only one clipboard and Linux, there is the PRIMARY and CLIPBOARD, that's right but the problem here is :
* copy something from your local Windows computer (ctrl+c in notepad for example)
* in your remote MATE x2go session, in Pluima or Gedit for example, *select* part of a text and do a "paste" action (with ctrl+v or the paste action in the edit menu, *not middle mouse click*).
* at that moment, nothing happen where you would expect the selected text to be replaced by the copied text in Windows.
Note that if I do the same use case from a linux local desktop to a remote linux x2go session, it works as expected (the text is replaced), it's only in doing the same with Windows that it is not working.
> 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...
I don't know how to downgrade to this release, I'm using the x2go stable PPA for the server side (it's running on ubuntu server 14.04 lts amd64 + MATE 1.8 as the desktop) and Windows 7 SP1 as the client running 4.0.5.0.
> Also, do you have any clipboard manager running in the MATE session?
at first, none then I installed ClipIt just to see what was happening and disable copy on select but it did nothing, the beahviour was identical.
In the clipboard manager's history, I can see my copied text from Windows but as soon as I select some text from within my linux x2go session, I can't paste it.
ctrl+v does nothing, paste menu does nothing and even middle click does nothing as if both clipboards where flushed.
As soon as I do another ctrl+v or another selection in the remote x2go session, I can paste what has been selected/copied.
> And it would help to know if this happens for other desktops, too.
I only tested it on x2go/MATE in Desktop mode or Published Apps mode. Both ways gives same results.
Walid
----- Mail original -----
De: "Ulrich Sibiller" <uli42@gmx.de>
À: "Walid MOGHRABI" <w.moghrabi@servicemagic.eu>, 927@bugs.x2go.org
Cc: submit@bugs.x2go.org
Envoyé: Mardi 1 Septembre 2015 16:32:43
Objet: Re: [X2Go-Dev] Bug#927: copy on select overrides Windows clipboard
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
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you
[Message part 2 (text/html, inline)]
Send a report that this bug log contains spam.
X2Go Developers <owner@bugs.x2go.org>.
Last modified:
Thu Nov 21 19:11:11 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.