From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20007 invoked by alias); 19 Feb 2016 16:25:43 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 19992 invoked by uid 89); 19 Feb 2016 16:25:42 -0000 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 Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 19 Feb 2016 16:25:41 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 72A912086C for ; Fri, 19 Feb 2016 11:25:39 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 19 Feb 2016 11:25:39 -0500 Received: from [192.168.1.102] (host86-141-131-217.range86-141.btcentralplus.com [86.141.131.217]) by mail.messagingengine.com (Postfix) with ESMTPA id F23506800F7; Fri, 19 Feb 2016 11:25:38 -0500 (EST) Subject: Re: Fwd: Limited clipboard buffer between X11 apps and Microsoft Windows Reply-To: cygwin@cygwin.com References: <564DC0E1.6080004@dronecode.org.uk> To: cygwin@cygwin.com Cc: "kevinarpe@gmail.com >> Kevin Connor Arpe" From: Jon Turney Message-ID: <56C741FA.9000903@dronecode.org.uk> Date: Fri, 19 Feb 2016 16:25:00 -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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-02/txt/msg00304.txt.bz2 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