public inbox for cygwin-xfree@sourceware.org help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk> To: cygwin-xfree@cygwin.com Cc: mathog@caltech.edu Subject: Re: Clipboard interaction issues - breaks after awhile Date: Tue, 07 Oct 2014 13:14:00 -0000 [thread overview] Message-ID: <5433E72A.9070907@dronecode.org.uk> (raw) In-Reply-To: <a281b0aaec1765f1f9974258a05327ed@saf.bio.caltech.edu> On 03/10/2014 21:02, mathog wrote: > Today I ran into an interesting variant of this. > > 1. putty ssh -X session from XP to a remote Centos 6.5 system. > 2. on the remote system: xterm & > 3. copy a line of text on remote system > 4. paste it into a roundcube "compose" window on XP system. The > browser is Seamonkey 2.29. > > It works fine for a while and then the _browser_ locks. It is > definitely an X11 > issue because this unlocked the browser: exit all xterms, exit the putty > session, kill > the X11 server. The browser didn't unlock until the last step. > > This lock up happened twice within half an hour. Now I can't reproduce it. There is supposed to be a 1 second timeout to ensure that we always respond to the Windows application in a timely fashion. (The issue here is that Windows clipboard pastes are synchronous (when the Windows application calls GetClipboardData(), it sends a WM_RENDERFORMAT to the clipboard owner, and blocks until that returns), but the X11 clipboard render is asynchronous (since we send a XConvertSelection() request to the clipboard owner and wait for a SelectionNotify event)) I've looked at this code again, and can't see anything wrong with they way this timeout is implemented. So, I'm afraid there's not a lot I can do without a repeatable reproduction or a log file. > That is the only system I have used recently that uses xterm instead of > uxterm. > > The clipboard problems I have seen previously were all in the other > direction, where clip going into an X11 application would fail. > > Unfortunately I didn't save the X server log file. Which, brings up > another point. > The X11 server is started by clicking on "start_server.bat" which contains: > > @echo off > set CYGXTOP=%~dp0 > C: > chdir "%CYGXTOP%\bin" > start Xwin :0 -multiwindow > > It always overwrites the Xwin.0.log file when it starts. Is there some > change we could make to this .bat script that would cause it to at least > save one previous version? I guess you could add to the above something like: move C:\cygwin\var\log\XWin.0.log C:\cygwin\var\log\XWin.0.log.old but yes, there is actually some code in the server to do that, but it's not turned on in XWin for unknown reasons... -- 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/
next prev parent reply other threads:[~2014-10-07 13:14 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-10-03 20:02 mathog 2014-10-07 13:14 ` Jon TURNEY [this message] 2014-10-07 16:25 ` mathog -- strict thread matches above, loose matches on Subject: below -- 2014-09-10 16:33 Nem W Schlecht 2014-09-10 17:17 ` mathog 2014-09-10 17:57 ` Nem W Schlecht 2014-09-10 18:34 ` mathog 2014-09-10 21:23 ` Nem W Schlecht 2014-09-19 13:46 ` Jon TURNEY 2014-09-19 13:53 ` Nem W Schlecht 2014-09-26 14:45 ` Jon TURNEY
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=5433E72A.9070907@dronecode.org.uk \ --to=jon.turney@dronecode.org.uk \ --cc=cygwin-xfree@cygwin.com \ --cc=mathog@caltech.edu \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).