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:to:references:from:reply-to:cc :message-id:date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=N4ywT3tk4ZF/v49J z9TOQ2sLLzATavm0mUdBlyFxfNAxBAFd/TCi6Q5QL4aaieOVaSq+ELlqgL5u0Bck QzHsjDGI6/gapLR6oFvER0K6PIdsWvFHQVOQVYmmIAvH5MBppy4J4L+1dNQRH3dd VtwLsdCanwPkjy6JHtzhOcDCH0g= 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:to:references:from:reply-to:cc :message-id:date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=wKHjy3EIffqcHZnuy4fM6Y Nt19A=; b=k8uMzw0Ao67O48mdRHjic1Zoh8jd5c2onzZm2EoN74++x4v1OoMcGY u91hmq8+FvqKZI1YeDTm448Fo1hrgPlG4qMtuLL7J5fpvLRqcai6UYEP6XSVhKii 97T1GSbthZ8rcL+KyVJQfxrBm+sb6yv5sk/gBmo4AJbXEPq4CLKSA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=0.1 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,URI_HEX autolearn=no version=3.3.2 X-HELO: out5-smtp.messagingengine.com Subject: Re: Fwd: Limited clipboard buffer between X11 apps and Microsoft Windows To: cygwin AT cygwin DOT com References: From: Jon Turney Reply-To: cygwin AT cygwin DOT com Cc: Kevin Connor Arpe Message-ID: <564DC0E1.6080004@dronecode.org.uk> Date: Thu, 19 Nov 2015 12:30:25 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 -- 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