delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/19/11:26:03

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:reply-to:references:to:cc:from
:message-id:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=w0598R6hOzt6wXy/
YNPo9/5iNzxPKhiwYAF3p8Tdlom17WdW3TbyKo++fmX4zk8NBsuiorB4t5y3EOsy
j6pqJNL2RevwxawYIOl1wWWGNPgMxucb425MQNbL5Kxmuq01Px5+hI94p5eP2hVO
hBl/eMNGwR3lGkebQP4aLaMVd1E=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:reply-to:references:to:cc:from
:message-id:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=M7rV9rPIkg7oWhsF1z/1v1
9pyvo=; b=eeeEFAhU6mzbIg5Ci5s+yKG42jhu5K1ZZuLJNkvjAF92/rtnzNEwIU
DpshH6Ohn9mPFsRjvKGs2asOYVOXdV27HIE29FgmY86FeBiuEHwfUReh4XlY1L1N
mDkavmVE72Ho9iYwraTQ8N4RykwgxOcsJ/LZ+BPs+uG30VPCjpBXE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,URI_HEX autolearn=no version=3.3.2 spammy=transferring, UD:n5.nabble.com, coworker, Hx-languages-length:1961
X-HELO: out4-smtp.messagingengine.com
Subject: Re: Fwd: Limited clipboard buffer between X11 apps and Microsoft Windows
Reply-To: cygwin AT cygwin DOT com
References: <CAFMYRRNBpxYc42r9eSxYOC0v43jMGMySXeh3G-ARc1YT+k1LdA AT mail DOT gmail DOT com> <CAFMYRRPPTKzy31yYybEf2b7fMB1EGkogVmrHuGA6okB8iW2J4w AT mail DOT gmail DOT com> <564DC0E1 DOT 6080004 AT dronecode DOT org DOT uk>
To: cygwin AT cygwin DOT com
Cc: "kevinarpe AT gmail DOT com >> Kevin Connor Arpe" <kevinarpe AT gmail DOT com>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Message-ID: <56C741FA.9000903@dronecode.org.uk>
Date: Fri, 19 Feb 2016 16:25:30 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <564DC0E1.6080004@dronecode.org.uk>

On 19/11/2015 12:30, Jon Turney wrote:
> On 17/11/2015 18:57, Kevin Connor Arpe wrote:
>> My issue: Copying text between X11 apps and Microsoft Windows has
>> limited clipboard buffer.  My office co-worker and I were able to
>> replicate the same issue on our machines.
>>
>> To replicate:
>> 1) Run Cygwin X Server locally.
>> 2) Run gedit remotely (using company Linux hosts) and redirect display
>> to our local Cygwin X Server.
>> 3) Copy some text in gedit, paste in Windows app, e.g. Notepad.
>>
>> We are able to find a limit (approximately 1000+ lines of text).  To
>> be very clear:  We can copy small amounts to text, but not large
>> amounts of text.
>>
>> My co-worker found this historical Cygwin mailing list item.  It looks
>> very similar:
>> http://cygwin.1069669.n5.nabble.com/emacs-x11-new-clipboard-size-limitation-td104696.html
>>
>>
>> When the copy/paste fails, I see the following in
>> /var/log/xwin/XWin.0.log:
>> [298268.591] winClipboardFlushXEvents - SelectionNotify -
>> X*TextPropertyToTextList returned: XConverterNotFound
>
> Thanks for reporting this issue.
>
> Unfortunately, I don't think this is a recurrence of the regression in
> that old report.
>
> Briefly, there is a different protocol [1] for transferring clipboard
> contents too large to fit in a single X protocol message (approximately
> 262144 bytes), which is not currently implemented by the X11/Windows
> clipboard synchronization code.
>
> Your estimate of 1000 lines seems a little low, but in my testing this
> is the limit I hit.
>
> [1]
> http://www.x.org/releases/X11R7.7/doc/xorg-docs/icccm/icccm.html#INCR_Properties

This should be fixed in X server 1.18.1-1 I uploaded today.

Note there is still a limit of approx. 16MB when copying in the opposite 
direction (from a Windows app to an X11 app), but that is harder to fix...

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019