From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11652 invoked by alias); 21 Jun 2013 12:33:23 -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 11640 invoked by uid 89); 21 Jun 2013 12:33:22 -0000 X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from nm8-vm6.bt.bullet.mail.ir2.yahoo.com (HELO nm8-vm6.bt.bullet.mail.ir2.yahoo.com) (212.82.99.223) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 21 Jun 2013 12:33:21 +0000 Received: from [212.82.98.40] by nm8.bt.bullet.mail.ir2.yahoo.com with NNFMP; 21 Jun 2013 12:33:19 -0000 Received: from [217.146.189.75] by tm1.bt.bullet.mail.ir2.yahoo.com with NNFMP; 21 Jun 2013 12:33:19 -0000 Received: from [127.0.0.1] by smtp825.mail.ird.yahoo.com with NNFMP; 21 Jun 2013 12:33:19 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- X-Rocket-Received: from [192.168.1.72] (jon.turney@86.132.234.216 with plain) by smtp825.mail.ird.yahoo.com with SMTP; 21 Jun 2013 05:33:19 -0700 PDT Message-ID: <51C44820.4010307@dronecode.org.uk> Date: Fri, 21 Jun 2013 12:33:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: drstacey@tiscali.co.uk Subject: Re: 64-bit Clipboard troubles References: <51B4D075.3050001@tiscali.co.uk> <51B5D4E2.20008@dronecode.org.uk> <51B6479A.5050707@tiscali.co.uk> In-Reply-To: <51B6479A.5050707@tiscali.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00047.txt.bz2 On 10/06/2013 22:39, David Stacey wrote: > On 10/06/13 14:30, Jon TURNEY wrote: >> On 09/06/2013 19:59, David Stacey wrote: >>> >I am trying to package keepassx for 64-bit Cygwin, and have noticed a >>> >difference between the way the clipboard functions under 32-bit and 64-bit >>> >Cygwin/X. Essentially, keepassx is an encrypted password database that >>> >copies your username and password to the clipboard. Then, you can paste >>> >these into a web site (say) to log in. >>> > >>> >When I run keepassx (both 32-bit and 64-bit builds) using the 32-bit >>> >version of XWin, keepassx copies the username and password to the >>> >clipboard, and these can be pasted into a native Windows web browser (e.g. >>> >Firefox). However, when I run keepassx (again, both 32-bit and 64-bit >>> >builds) using the 64-bit version of XWin, the procedure breaks: I instruct >>> >keepassx to copy to the clipboard, but when I paste in the web browser, no >>> >text is pasted. >> Sorry, integration between the native and X clipboards is broken in 64-bit >> XWin. >> >> Unfortunately, this is rather complex to fix and I haven't found the time to >> do so yet. > > Thank you for your reply. I've sent an RFU for keepassx along with a link to > your reply. If and when you tie the two clipboards together, keepassx should > just start working - there shouldn't be a need to rebuild it, but I'll do that > if necessary. This should be working as of xserver 1.14.1-2. Please test if you can and let me know if there are any problems. On 10/06/2013 14:30, Jon TURNEY wrote: >> I mentioned that my testcase programme doesn't quite work as I intended: >> > writing to the clipboard using Qt4 and reading it back by reading >> > /dev/clipboard fails when using both 32-bit and 64-bit XWin. I don't >> > understand why, but this is probably down to my own limited understanding >> > of the clipboard in X. > Thanks for writing this useful testcase. > > From a brief glance, the test looks well formed, so I'll also try to take a > look at why test 2 always fails, I guess this indicates some bug in the > clipboard integration. Looking again, I think maybe that the problem with test 2 is that it's necessary for Qt's main event loop to be running for pastes from the X clipboard to work. -- 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/