From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16481 invoked by alias); 21 Nov 2013 17:45:54 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 16467 invoked by uid 89); 21 Nov 2013 17:45:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: smtpout12.bt.lon5.cpcloud.co.uk Received: from Unknown (HELO smtpout12.bt.lon5.cpcloud.co.uk) (65.20.0.132) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Nov 2013 17:45:51 +0000 X-RazorGate-Suspect: true X-CTCH-RefID: str=0001.0A090206.528E46C6.00F1,ss=1,re=0.100,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-Spam: Unknown Received: from [192.168.1.72] (86.177.101.33) by smtpout12.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as jonturney@btinternet.com) id 5278451B0108DEA0; Thu, 21 Nov 2013 17:45:42 +0000 Message-ID: <528E46C5.9050101@dronecode.org.uk> Date: Thu, 21 Nov 2013 17:45:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: matt@codespunk.com Subject: Re: Copy/paste broken from X to Windows References: <5264B159.9010503@codespunk.com> In-Reply-To: <5264B159.9010503@codespunk.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-11/txt/msg00012.txt.bz2 On 21/10/2013 05:45, Matt D. wrote: > Copy/paste seems to be broken when attempting to copy a large block of text > from X to Windows. See the attachment for an example. > > Copying the text from Windows to X seems fine but the reverse causes the mouse > cursor to spin and then a blank string to paste. Thanks for the bug report and reproduction steps. I can reproduce this problem, and there's definitely a timing sensitive bug here (which a larger paste seems to trigger). There is also perhaps something not quite right about the way select() is behaving here, as it seems to be returning 0 before the timeout expires, which I need to investigate further. I've uploaded a snapshot at [1] with a fix and a workaround. Perhaps you could try that and see if it improves things for you? [1] ftp://cygwin.com/pub/cygwinx/XWin.20131121-git-49551bf34e231173.exe.bz2 -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/