From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11569 invoked by alias); 27 Jun 2013 14:20:40 -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 11531 invoked by uid 89); 27 Jun 2013 14:20:40 -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-vm3.bt.bullet.mail.ir2.yahoo.com (HELO nm8-vm3.bt.bullet.mail.ir2.yahoo.com) (212.82.99.199) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 27 Jun 2013 14:20:39 +0000 Received: from [212.82.98.45] by nm8.bt.bullet.mail.ir2.yahoo.com with NNFMP; 27 Jun 2013 14:20:37 -0000 Received: from [217.146.189.77] by tm6.bt.bullet.mail.ir2.yahoo.com with NNFMP; 27 Jun 2013 14:20:37 -0000 Received: from [127.0.0.1] by smtp827.mail.ird.yahoo.com with NNFMP; 27 Jun 2013 14:20:37 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- X-Rocket-Received: from [192.168.1.72] (jon.turney@217.44.57.12 with plain) by smtp827.mail.ird.yahoo.com with SMTP; 27 Jun 2013 07:20:37 -0700 PDT Message-ID: <51CC4A40.6090805@dronecode.org.uk> Date: Thu, 27 Jun 2013 14:20:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: matt@codespunk.com Subject: Re: Long delay when using undo/redo in eclipse with Cygwin/X References: <51B8F750.7000100@codespunk.com> In-Reply-To: <51B8F750.7000100@codespunk.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00056.txt.bz2 On 12/06/2013 23:33, Matt D. wrote: > I'm not sure if this is the appropriate place to direct this question. > Although the only case where I experience this is in eclipse, it only occurs > when connecting to a remote X server. > > When using ctrl-z (undo) and ctrl-shift-z (redo) in eclipse there is a > significant delay in the X session where it appears to 'hang' for several > seconds. Holding down ctrl-z causes the hangs to queue and can be seen by the > carrot only being updated when the text area is clicked in between each hang. > > The delay does NOT occur when eclipse is run locally on the machine; it only > occurs with a remote X session. The X session is done over LAN so there is > plenty of bandwidth available. > > A delay does NOT occur when doing large amounts of drawing in the text area, > such as ctrl-a (select-all), very large cuts (ctrl-x), or pasts (ctrl-v). > > The delay does not appear to have any correlation to the size of the task > being undone/redone. Undo on a single character has the same long delay as > using undo after deleting everything in a source file. > > The delay still occurs when using undo from the edit menu or after having been > rebound to another key (ctrl-r for example). > > Any suggestions? There are a couple of things you might try to isolate the problem: - try running the X server with -noclipboard to rule out any interaction with the Windows clipboard integration. - try a remote X server running on Linux, not Windows If it behaves the same in both those cases, it looks like something Eclipse is doing (perhaps requiring excessive round-trips to the server) and a wireshark capture might be informative. -- 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/